</>PackageGraphPackageGraph

getenv

npmv2.0.0

Get and typecast environment variables.

8.7M
Weekly downloads
5
Dependents
1
Dependencies
90/100
Popularity

Overview

getenv is an npm package that get and typecast environment variables. It is extremely widely used, with about 8.7M downloads per week and 5 known dependents in the graph. The latest version is 2.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need get and typecast environment variables and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (8.7M weekly downloads).
  • Clear open-source license (MIT).
  • Lean dependency tree (1 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of getenv.

Dependencies

Used by

Popular packages that depend on getenv.

Alternatives to getenv

Frequently installed together

Version history

VersionPublishedLicense
2.0.0latest1 year agoMIT
1.0.06 years agoMIT
0.7.09 years agoMIT
0.6.010 years agoMIT
0.5.011 years agoMIT
0.4.011 years agoMIT
0.3.014 years agoMIT
0.2.014 years agoMIT
0.1.014 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install getenv?

Run `npm install getenv` to add getenv to your npm project.

What license is getenv released under?

getenv is distributed under the MIT license.

How popular is getenv?

getenv has approximately 8,730,798 downloads per week and 5 known dependent packages.