10 Best JavaScript Environment Variables Libraries

List hand-picked by Openbase Experts
Learn More

dot

Loads environment variables from .env for nodejs projects.

29.6M
16.5K
Built-in
BSD-2-Clause
env

Environment variable validation for Node.js

179K
1K
Built-in
MIT
ce

🔀 Cross platform setting of environment scripts

5.2M
5.8K
No support
MIT
ec

Setting environment variables from a file

765K
1.5K
Built-in
MIT
dw

A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use.

1.5M
1.2K
DefinitelyTyped
MIT
ds

Load environment variables from .env and ensure they are all present

138K
715
DefinitelyTyped
MIT
nco

Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.

633K
DefinitelyTyped
MIT
jest-environment-node

Delightful JavaScript Testing.

19.8M
41.2K
Built-in
MIT
de

Variable expansion for dotenv. Expand variables already on your machine for use in your .env file.

10.3M
737
Built-in
BSD-2-Clause
dotenv-vault

Sync .env files. ⚡️ From the same people that pioneered dotenv.

8.4K
429
Built-in
MIT
env

🔧 Selectively replace Node-style environment variables with plain strings.

495K
892
DefinitelyTyped
MIT
ev

Verification, sanitization, and type coercion for environment variables in Node.js

138K
410
Built-in
MIT
nef

Parse and load environment files (containing ENV variable exports) into Node.js environment, i.e. `process.env`.

16.1K
119
No support
env2

💻 Simple environment variable (from config file) loader for your node.js app

5.1K
100
No support
GPL-2.0
hc

[Utility] Push and pull heroku environment variables to your local env

285
235
No support
ISC
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.