npm packages for env

20 of the first 20 results of the npm registry's search for “env” match the need, led by dotenv (280,399,548 weekly downloads).

The first 20 results (or all, if fewer) of the npm registry's own search for “env” (npm's relevance order), keeping those whose name, description or keywords mention a word of the need, then sorted by weekly downloads. Descriptions are the authors' own words. Data fetched 2026-11-20.

PackageByDescriptionWeekly downloadsUpdated
dotenv
v18.0.10
scottmotte“Loads environment variables from .env file”280,399,5482026-11-09
browserslist
v4.29.6
ai“Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset”279,416,9012026-11-16
@expo/env
v2.6.0
ide“hydrate environment variables from .env files into process.env”23,793,3832026-11-11
@pnpm/config.env-replace
v1100.0.0
pnpmuser“Replaces env variable placeholders in configuration settings”19,277,0612026-09-28
@t3-oss/env-core
v0.13.11
nexxel“![NPM Version](https://img.shields.io/npm/v/%40t3-oss%2Fenv-core) [![JSR](https://jsr.io/badges/@t3-oss/env-core)](https://jsr.io/@t3-oss/env-core) [![JSR Score](https://jsr.io/badges/@t3-oss/env-core/score)](https://jsr.io/@t3-oss/env-core) [![Socket Bad”5,819,2112026-03-22
postcss-env-function
v8.0.0
jonathantneal“Use env() variables in CSS”4,323,5522026-01-14
@t3-oss/env-nextjs
v0.13.11
nexxel“![NPM Version](https://img.shields.io/npm/v/%40t3-oss%2Fenv-core) [![JSR](https://jsr.io/badges/@t3-oss/env-core)](https://jsr.io/@t3-oss/env-core) [![JSR Score](https://jsr.io/badges/@t3-oss/env-core/score)](https://jsr.io/@t3-oss/env-core) [![Socket Bad”3,693,9722026-03-22
@types/webpack-env
v1.18.8
types“TypeScript definitions for webpack-env”3,650,5472025-01-28
env-string
v1.0.1
mafintosh“Inlines env vars in a string that contains $NAME expressions”2,275,8662019-03-09
env-cmd
v11.0.0
toddbluhm“Executes a command using the environment variables in an env file”2,083,1502025-08-23
path-name
v1.0.0
zkochan“Cross-platform PATH env name”1,066,0422016-10-20
env-schema
v8.0.2
matteo.collina“Validate your env variables using Ajv with .env file support using Node.js built-in parseEnv”863,0272026-11-14
@types/babel__preset-env
v7.10.0
types“TypeScript definitions for @babel/preset-env”567,9752025-01-26
@types/proxy-from-env
v1.0.4
types“TypeScript definitions for proxy-from-env”491,8032023-11-07
serverless-export-env
v2.2.0
arabold“Serverless plugin to export environment variables into a .env file”224,1562022-06-16
@stacksjs/env
v0.75.634
chrisbreuer“Stacks env helper methods.”59,8852026-11-19
custom-env
v2.0.6
erisanolasheni“Custom env is a library built to make development more feasible by allowing multiple .env configurations for different environments.”44,9572024-07-18
@types/env-ci
v3.1.4
types“TypeScript definitions for env-ci”39,2152023-11-07
node-env-run
v4.0.2
dkundel“Wrapper executable to load env variables from .env and run Node”19,0742020-09-30
env
v0.0.2
dshaw“Environment variable manager”14,9852011-11-28

Data: npm registry search API, fetched 2026-11-20. Page built 2026-11-21 · npm packages for every need: 53 lists from the npm registry