Skip to content
JS
Package

edit-dotenv

Edit a .env file string with preserved whitespace.

v1.0.4, 12 Jul 2017MIT-Types: NoneConfigurationNode.js utilities
$ npm install edit-dotenv

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
05k10k15kSept 2025Mar 2026Sept 2026High 14.5k (2 Jun 2026)Low 453 (21 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/edit-dotenv@1.0.4/
  • unpkghttps://unpkg.com/edit-dotenv@1.0.4/
  • esm.shhttps://esm.sh/edit-dotenv@1.0.4
PackageWeekly downloadsGzipLast releaseModuleComparison
dotenv-json72.9k-8 years agoCommonJS-
dotenv-load5.4k-3 years agoCommonJS-
dotenv-safe192.3k-2 years agoCommonJS-
update-dotenv68.6k-7 years agoCommonJS-
ts-dotenv23.2k-3 years agoCommonJS-
rollup-plugin-dotenv10.7k-2 years agoESM + CommonJS-
dotenv-flow799.1k-2 years agoCommonJS-
dotenv130.9m-2 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 8302 < 10000.