Skip to content
JS
Package

ts-dotenv

Strongly-typed environment variables from .env & process.env

v0.9.1, 5 Feb 2023MITCommonJSTypes: BundledConfigurationNode.js utilities
$ npm install ts-dotenv

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
020k40k60kSept 2025Mar 2026Sept 2026High 45.8k (25 Aug 2026)Low 6.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ts-dotenv@0.9.1/
  • unpkghttps://unpkg.com/ts-dotenv@0.9.1/
  • esm.shhttps://esm.sh/ts-dotenv@0.9.1
PackageWeekly downloadsGzipLast releaseModuleComparison
env-var618.2k-2 years agoCommonJS-
zod-config7.7k-10 months agoESM + CommonJS-
envfile83.7k-2 years agoESM + CommonJS-
config-dug7.8k-2 months agoCommonJS-
dotenv-vault22.3k-1 year agoCommonJS-
dotenv130.9m-2 days agoCommonJS-
@dotenvx/dotenvx8.8m-2 days agoCommonJS-
dotenv-flow799.1k-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.