Package
rollup-preserve-directives
Rollup plugin to preserve directives
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 121.3k
- +70% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 1 year ago
- v1.1.3
- GitHub stars
- 46
- 5 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
121,253 downloads last week, 698,601 in the last month. The 12-month change of +70% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.1.3, 24 Nov 20241 year ago
- First published
- -
- Last push to GitHub
- 16 Feb 2025585 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 46
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 19 kB
- Dependencies (1)
magic-string- Peer dependencies (1)
rollup
npm install rollup-preserve-directives- jsDelivr
https://cdn.jsdelivr.net/npm/rollup-preserve-directives@1.1.3/ - unpkg
https://unpkg.com/rollup-preserve-directives@1.1.3/ - esm.sh
https://esm.sh/rollup-preserve-directives@1.1.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| rollup-plugin-execute | 6.7k | - | 7 years ago | CommonJS | - |
Indexability: Indexed.