Package
var
Use strongly typed environment variables like a boss
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.9k
- +126% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 6 years ago
- v0.4.0
- GitHub stars
- 3
- 2 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
1,942 downloads last week, 6,453 in the last month. The 12-month change of +126% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 0.4.0, 8 Oct 20196 years ago
- First published
- -
- Last push to GitHub
- 8 Oct 20192,543 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
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 12 kB
- Dependencies (1)
lodash
npm install var- jsDelivr
https://cdn.jsdelivr.net/npm/var@0.4.0/ - unpkg
https://unpkg.com/var@0.4.0/ - esm.sh
https://esm.sh/var@0.4.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| env-var | 618.2k | - | 2 years ago | CommonJS | - |
| custom-env | 24.9k | - | 2 years ago | CommonJS | - |
| ts-dotenv | 23.2k | - | 3 years ago | CommonJS | - |
| dotenv-webpack | 929.6k | - | 6 months ago | CommonJS | - |
| biome | 44.2k | - | 10 years ago | CommonJS | - |
| env | 23.9k | - | 14 years ago | CommonJS | - |
| @cubejs-backend/dotenv | 23.8k | - | 5 years ago | CommonJS | - |
| node-env-run | 11.2k | - | 5 years ago | - | - |
Indexability: Not indexed (discovery only): downloads_week 1942 < 10000.