Package
rollup-plugin-preserve-shebang
Automatically preserve a shebang in your entry file.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/rollup-plugin-preserve-shebang@1.0.1/ - unpkg
https://unpkg.com/rollup-plugin-preserve-shebang@1.0.1/ - esm.sh
https://esm.sh/rollup-plugin-preserve-shebang@1.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| rollup-plugin-esbuild-minify | 43.2k | - | 1 year ago | ESM + CommonJS | - |
| rollup-plugin-summary | 11.2k | - | 1 year ago | ESM + CommonJS | - |
| rollup-plugin-inject-process-env | 42.2k | - | 5 years ago | ESM + CommonJS | - |
| rollup-plugin-ignore | 30k | - | 5 years ago | CommonJS | - |
| rollup-obfuscator | 6.3k | - | 2 years ago | ESM + CommonJS | - |
| @rollup/plugin-babel | 8.9m | - | 3 months ago | ESM + CommonJS | - |
| @rollup/plugin-yaml | 953.8k | - | 3 months ago | ESM + CommonJS | - |
| @miyaneee/rollup-plugin-json5 | 431.2k | - | 2 years ago | ESM + CommonJS | - |
Indexability: Indexed.