Package
ts-dotenv
Strongly-typed environment variables from .env & process.env
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 23.2k
- +215% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 years ago
- v0.9.1
- GitHub stars
- 44
- 6 forks
- Open issues / PRs
- 0 / 5
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
23,229 downloads last week, 134,625 in the last month. The 12-month change of +215% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 0.9.1, 5 Feb 20233 years ago
- First published
- -
- Last push to GitHub
- 1 Apr 2024906 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 5
- Commits, last 52 weeks
- 0
- Dependents on npm
- 17
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 26 kB
- Dependencies (0)
- None
npm install ts-dotenv- jsDelivr
https://cdn.jsdelivr.net/npm/ts-dotenv@0.9.1/ - unpkg
https://unpkg.com/ts-dotenv@0.9.1/ - esm.sh
https://esm.sh/ts-dotenv@0.9.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| env-var | 618.2k | - | 2 years ago | CommonJS | - |
| zod-config | 7.7k | - | 10 months ago | ESM + CommonJS | - |
| envfile | 83.7k | - | 2 years ago | ESM + CommonJS | - |
| config-dug | 7.8k | - | 2 months ago | CommonJS | - |
| dotenv-vault | 22.3k | - | 1 year ago | CommonJS | - |
| dotenv | 130.9m | - | 2 days ago | CommonJS | - |
| @dotenvx/dotenvx | 8.8m | - | 2 days ago | CommonJS | - |
| dotenv-flow | 799.1k | - | 2 years ago | CommonJS | - |
Indexability: Indexed.