dotenv-flow alternatives
8 packages that do the same job as dotenv-flow: ts-dotenv, @dotenvx/dotenvx, dotenv-expand, env-var, @dotenvx/primitives, @dotenvx/tooling, dotenv-parse-variables, @ngx-env/builder. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| dotenv-flow This package | 799.1k | +89% | - | 1 | 2 years ago | CommonJS | Bundled | - |
| ts-dotenv | 23.2k | +215% | - | 0 | 3 years ago | CommonJS | Bundled | - |
| @dotenvx/dotenvx | 8.8m | +1056% | - | 6 | 2 days ago | CommonJS | Bundled | - |
| dotenv-expand | 32.2m | +77% | - | 0 | 1 month ago | CommonJS | Bundled | - |
| env-var | 618.2k | +144% | - | 0 | 2 years ago | CommonJS | Bundled | - |
| @dotenvx/primitives | 4m | - | - | 0 | 2 days ago | CommonJS | None | - |
| @dotenvx/tooling | 307.4k | - | - | 0 | 2 months ago | CommonJS | None | - |
| dotenv-parse-variables | 79.8k | -20% | - | 2 | 5 years ago | CommonJS | None | - |
| @ngx-env/builder | 29.5k | - | - | 2 | 1 month ago | - | None | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Strongly-typed environment variables from .env & process.env
Compared with dotenv-flow
- 34x fewer weekly downloads (23.2k vs 799.1k)
- 0 dependencies vs 1
- Declares no Node.js engine range vs Node.js >= 12.0.0
- Last release 5 Feb 2023 vs 26 Dec 2023
- 21x fewer GitHub stars (44 vs 902)
a secure dotenv–from the creator of `dotenv`
Compared with dotenv-flow
- 11x more weekly downloads (8.8m vs 799.1k)
- 6 dependencies vs 1
- Declares no Node.js engine range vs Node.js >= 12.0.0
- Last release 22 Sept 2026 vs 26 Dec 2023
- 6.4x more GitHub stars (5.8k vs 902)
Expand environment variables using dotenv
Compared with dotenv-flow
- 40x more weekly downloads (32.2m vs 799.1k)
- 0 dependencies vs 1
- Declares Node.js >=16 vs Node.js >= 12.0.0
- Last release 29 Jul 2026 vs 26 Dec 2023
- 1.2x more GitHub stars (1.1k vs 902)
Verification, sanitization, and type coercion for environment variables in Node.js
Compared with dotenv-flow
- 1.3x fewer weekly downloads (618.2k vs 799.1k)
- 0 dependencies vs 1
- Declares Node.js >=10 vs Node.js >= 12.0.0
- Last release 20 May 2024 vs 26 Dec 2023
- 1.4x fewer GitHub stars (625 vs 902)
a secure dotenv–from the creator of `dotenv`
Compared with dotenv-flow
- 5.0x more weekly downloads (4m vs 799.1k)
- 0 dependencies vs 1
- No types vs bundled types
- Declares no Node.js engine range vs Node.js >= 12.0.0
- Last release 22 Sept 2026 vs 26 Dec 2023
- 6.4x more GitHub stars (5.8k vs 902)
a secure dotenv–from the creator of `dotenv`
Compared with dotenv-flow
- 2.6x fewer weekly downloads (307.4k vs 799.1k)
- 0 dependencies vs 1
- No types vs bundled types
- Declares no Node.js engine range vs Node.js >= 12.0.0
- Last release 21 Jul 2026 vs 26 Dec 2023
- 6.4x more GitHub stars (5.8k vs 902)
Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS
Compared with dotenv-flow
- 10x fewer weekly downloads (79.8k vs 799.1k)
- 2 dependencies vs 1
- No types vs bundled types
- Declares Node.js >= 8.3.0 vs Node.js >= 12.0.0
- Last release 12 Feb 2021 vs 26 Dec 2023
- 7.3x fewer GitHub stars (124 vs 902)
Easily inject environment variables into your Angular applications
Compared with dotenv-flow
- 27x fewer weekly downloads (29.5k vs 799.1k)
- 2 dependencies vs 1
- - vs CommonJS
- No types vs bundled types
- Declares no Node.js engine range vs Node.js >= 12.0.0
- Last release 13 Aug 2026 vs 26 Dec 2023
- 2.9x fewer GitHub stars (313 vs 902)
Indexability: Indexed.