Skip to content
JS
Package

rollup-plugin-preserve-shebang

Automatically preserve a shebang in your entry file.

v1.0.1, 13 Jun 2020MITESM + CommonJSTypes: NoneBundler plugins and loaders
$ npm install rollup-plugin-preserve-shebang

Key numbers

As of 25 Sept 2026
Weekly downloads
10.8k
-48% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
6 years ago
v1.0.1
GitHub stars
48
5 forks
Open issues / PRs
0 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 28.4k (21 Oct 2025)Low 5.7k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

10,781 downloads last week, 41,830 in the last month. The 12-month change of -48% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.1, 13 Jun 20206 years ago
First published
-
Last push to GitHub
10 Mar 2024928 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
27

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
3.5 kB
Dependencies (1)
magic-string
npm install rollup-plugin-preserve-shebang
  • jsDelivrhttps://cdn.jsdelivr.net/npm/rollup-plugin-preserve-shebang@1.0.1/
  • unpkghttps://unpkg.com/rollup-plugin-preserve-shebang@1.0.1/
  • esm.shhttps://esm.sh/rollup-plugin-preserve-shebang@1.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
rollup-plugin-esbuild-minify43.2k-1 year agoESM + CommonJS-
rollup-plugin-summary11.2k-1 year agoESM + CommonJS-
rollup-plugin-inject-process-env42.2k-5 years agoESM + CommonJS-
rollup-plugin-ignore30k-5 years agoCommonJS-
rollup-obfuscator6.3k-2 years agoESM + CommonJS-
@rollup/plugin-babel8.9m-3 months agoESM + CommonJS-
@rollup/plugin-yaml953.8k-3 months agoESM + CommonJS-
@miyaneee/rollup-plugin-json5431.2k-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.