Skip to content
JS
Package

var

Use strongly typed environment variables like a boss

v0.4.0, 8 Oct 2019No license fieldCommonJSTypes: NoneConfigurationNode.js utilities
$ npm install var

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
05001k1.5k2kSept 2025Mar 2026Sept 2026High 1.9k (15 Sept 2026)Low 292 (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.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/var@0.4.0/
  • unpkghttps://unpkg.com/var@0.4.0/
  • esm.shhttps://esm.sh/var@0.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
env-var618.2k-2 years agoCommonJS-
custom-env24.9k-2 years agoCommonJS-
ts-dotenv23.2k-3 years agoCommonJS-
dotenv-webpack929.6k-6 months agoCommonJS-
biome44.2k-10 years agoCommonJS-
env23.9k-14 years agoCommonJS-
@cubejs-backend/dotenv23.8k-5 years agoCommonJS-
node-env-run11.2k-5 years ago--
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1942 < 10000.