Package
rollup-plugin-dotenv
Rollup plugin that loads available .env files and replaces the defined variables with their values
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 10.7k
- +39% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 2 years ago
- v0.5.1
- GitHub stars
- 33
- 11 forks
- Open issues / PRs
- 2 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
10,683 downloads last week, 68,203 in the last month. The 12-month change of +39% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 0.5.1, 15 Apr 20242 years ago
- First published
- -
- Last push to GitHub
- 15 Apr 2024892 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 57
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=14
- Runtimes
- -
- Unpacked size (npm)
- 8.7 kB
- Dependencies (2)
dotenv@rollup/plugin-replace- Peer dependencies (1)
rollup
npm install rollup-plugin-dotenv- jsDelivr
https://cdn.jsdelivr.net/npm/rollup-plugin-dotenv@0.5.1/ - unpkg
https://unpkg.com/rollup-plugin-dotenv@0.5.1/ - esm.sh
https://esm.sh/rollup-plugin-dotenv@0.5.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| dotenv-webpack | 929.6k | - | 6 months ago | CommonJS | - |
| dotenv-json | 72.9k | - | 8 years ago | CommonJS | - |
| esbuild-envfile-plugin | 14.6k | - | 2 years ago | CommonJS | - |
| dotenv-safe | 192.3k | - | 2 years ago | CommonJS | - |
| update-dotenv | 68.6k | - | 7 years ago | CommonJS | - |
| @varlock/vite-integration | 42.6k | - | 12 days ago | ESM only | - |
| edit-dotenv | 8.3k | - | 9 years ago | - | - |
| @import-meta-env/unplugin | 24.9k | - | 1 year ago | CommonJS | - |
Indexability: Indexed.