Skip to content
PluginStats

crossorigin-webpack-plugin weekly downloads statistics

By wannaxiao · npm · Webpack plugins

📦 Add the crossorigin attribute to HTML scripts(CORS), support webpack v2/3/4/5 | 为 HTML 脚本添加 crossorigin 属性(跨域支持),支持 webpack v2/3/4/5

View on npm Fresh · Dec 6, 2026

crossorigin-webpack-plugin has 339 recorded weekly downloads on npm, a decrease of 3.1% over the past 30 days, ranking #2356 of 3,247 tracked listings.

Weekly downloads
339
Official API · Dec 5, 2026
7-day growth
-4.5%
-16 weekly downloads
30-day growth
-3.1%
-11 weekly downloads
90-day growth
-85.6%
-2K weekly downloads
Rank
#2356
▼ 111 in 7 days

About crossorigin-webpack-plugin

crossorigin-webpack-plugin

English | 简体中文

✨ Features

  • Zero-config, easy to use
  • Support webpack v2/3/4/5
  • Support html-webpack-plugin v2/3/4/5

🚀 QuickStart

Install
yarn add -D crossorigin-webpack-plugin # OR npm i -D crossorigin-webpack-plugin
Usage

Please put it after HtmlWebpackPlugin

const CrossoriginWebpackPlugin = require('crossorigin-webpack-plugin')

const webpackConfig = {
  /* ... */
  plugins: [
    new HtmlWebpackPlugin(),
    new CrossoriginWebpackPlugin(),
  ],
  /* ... */
}
Config

Default config: { crossorigin: 'anonymous' }

new CrossoriginWebpackPlugin({ crossorigin: 'anonymous' })

😉😘 If it is helpful to you,please encourage me with a <b>⭐️<a href="#">Star</a></b> ~

Changelog

License

MIT

Copyright (c) 2018-present, momoko

Description from the npm listing.

  • webpack-plugin
  • webpack
  • crossorigin
  • html

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

crossorigin-webpack-plugin weekly downloads on npm, last 90 days: 339 weekly downloads as of Dec 5, 2026, -85.6% over 90 days.crossorigin-webpack-pluginWeekly downloads on npm · Last 90 days339downloads / week-85.6% over 90 days05001K1.5K2KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
crossorigin-webpack-plugin weekly downloads on npm, last 90 days: 339 weekly downloads as of Dec 5, 2026, -85.6% over 90 days.

7/30/90-day growth

crossorigin-webpack-plugin weekly downloads growth on npm: -4.5% over 7 days, -3.1% over 30 days, -85.6% over 90 days.crossorigin-webpack-pluginWeekly downloads growth on npm339downloads / week now7-day growth-16 weekly downloads-4.5%30-day growth-11 weekly downloads-3.1%90-day growth-2,008 weekly downloads-85.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
crossorigin-webpack-plugin weekly downloads growth on npm: -4.5% over 7 days, -3.1% over 30 days, -85.6% over 90 days.

Ranking history

crossorigin-webpack-plugin npm ranking history: currently #2356 (by weekly downloads).crossorigin-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2356current rank#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
crossorigin-webpack-plugin npm ranking history: currently #2356 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 118, #16 (overall #2,356)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 6, #15 (overall #115)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for crossorigin-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
339+12
327-11
338-13
351+3
348+10
338-17
3550
355-6
361-3
364+15
349-11
360-2
362-2
364—

Similar npm Webpack plugins plugins

All 20 crossorigin-webpack-plugin alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/crossorigin-webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.