Package
getenv
Get and typecast environment variables.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 9.3m
- +291% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v2.0.0
- GitHub stars
- 64
- 15 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
9,311,405 downloads last week, 46,027,223 in the last month. The 12-month change of +291% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 09 in total
- Latest version
- 2.0.0, 6 May 20251 year ago
- First published
- 17 Apr 2012
- Last push to GitHub
- 6 May 2025506 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 230
Major versions
- v2 first release 2.0.0, 6 May 2025
- v1 first release 1.0.0, 9 Oct 2019
- v0 first release 0.1.0, 17 Apr 2012
Recent releases
| Version | Published |
|---|---|
| 2.0.0 | 6 May 2025 |
| 1.0.0 | 9 Oct 2019 |
| 0.7.0 | 6 Oct 2016 |
| 0.6.0 | 11 Jan 2016 |
| 0.5.0 | 12 Dec 2014 |
| 0.4.0 | 24 Nov 2014 |
| 0.3.0 | 15 Aug 2012 |
| 0.2.0 | 25 Apr 2012 |
| 0.1.0 | 17 Apr 2012 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=6
- Runtimes
- -
- Unpacked size (npm)
- 11 kB
- Dependencies (0)
- None
npm install getenv- jsDelivr
https://cdn.jsdelivr.net/npm/getenv@2.0.0/ - unpkg
https://unpkg.com/getenv@2.0.0/ - esm.sh
https://esm.sh/getenv@2.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| config | 1.2m | - | 1 month ago | - | - |
Indexability: Indexed.