Skip to content
JS
Package

magic-comments

Node.js tool for adding Webpack magic comments at build time.

v3.0.0, 7 Feb 2026MITESM + CommonJSTypes: BundledBundlersBuild tools
$ npm install magic-comments

Key numbers

As of 25 Sept 2026
Weekly downloads
11.8k
+421% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
7 months ago
v3.0.0
GitHub stars
0
0 forks
Open issues / PRs
0 / 4
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 19.8k (28 Jul 2026)Low 359 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,757 downloads last week, 59,018 in the last month. The 12-month change of +421% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.0, 7 Feb 20267 months ago
First published
-
Last push to GitHub
26 Mar 2026182 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
4
Commits, last 52 weeks
1
Dependents on npm
2

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.21.1
Runtimes
-
Unpacked size (npm)
171 kB
Dependencies (2)
micromatchschema-utils
npm install magic-comments
  • jsDelivrhttps://cdn.jsdelivr.net/npm/magic-comments@3.0.0/
  • unpkghttps://unpkg.com/magic-comments@3.0.0/
  • esm.shhttps://esm.sh/magic-comments@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
wxt406.6k-1 month agoESM only-
lasso10.4k-2 years agoCommonJS-
esbuild202.7m-1 month agoCommonJS-
esbuild-wasm4.4m-1 month agoCommonJS-
esbuild-windows-64446.1k-3 years ago--
esbuild-windows-32389.4k-3 years ago--
esbuild-netbsd-64387.2k-3 years ago--
bundle-n-require207.8k-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.