Package
edit-dotenv
Edit a .env file string with preserved whitespace.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 8.3k
- +1637% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 9 years ago
- v1.0.4
- GitHub stars
- 3
- 0 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
8,302 downloads last week, 39,236 in the last month. The 12-month change of +1637% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.0.4, 12 Jul 20179 years ago
- First published
- -
- Last push to GitHub
- 3 Sept 202621 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 8
Major versions
-
Recent releases
-
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >= 4
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (2)
eolescape-string-regexp
npm install edit-dotenv- jsDelivr
https://cdn.jsdelivr.net/npm/edit-dotenv@1.0.4/ - unpkg
https://unpkg.com/edit-dotenv@1.0.4/ - esm.sh
https://esm.sh/edit-dotenv@1.0.4
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| dotenv-json | 72.9k | - | 8 years ago | CommonJS | - |
| dotenv-load | 5.4k | - | 3 years ago | CommonJS | - |
| dotenv-safe | 192.3k | - | 2 years ago | CommonJS | - |
| update-dotenv | 68.6k | - | 7 years ago | CommonJS | - |
| ts-dotenv | 23.2k | - | 3 years ago | CommonJS | - |
| rollup-plugin-dotenv | 10.7k | - | 2 years ago | ESM + CommonJS | - |
| dotenv-flow | 799.1k | - | 2 years ago | CommonJS | - |
| dotenv | 130.9m | - | 2 days ago | CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 8302 < 10000.