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.
| Package | By | Description | Weekly downloads | Updated |
|---|---|---|---|---|
| dotenv v18.0.10 | scottmotte | “Loads environment variables from .env file” | 280,399,548 | 2026-11-09 |
| browserslist v4.29.6 | ai | “Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset” | 279,416,901 | 2026-11-16 |
| @expo/env v2.6.0 | ide | “hydrate environment variables from .env files into process.env” | 23,793,383 | 2026-11-11 |
| @pnpm/config.env-replace v1100.0.0 | pnpmuser | “Replaces env variable placeholders in configuration settings” | 19,277,061 | 2026-09-28 |
| @t3-oss/env-core v0.13.11 | nexxel | “ [](https://jsr.io/@t3-oss/env-core) [](https://jsr.io/@t3-oss/env-core) [ [](https://jsr.io/@t3-oss/env-core) [](https://jsr.io/@t3-oss/env-core) [![Socket Bad” | 3,693,972 | 2026-03-22 |
| @types/webpack-env v1.18.8 | types | “TypeScript definitions for webpack-env” | 3,650,547 | 2025-01-28 |
| env-string v1.0.1 | mafintosh | “Inlines env vars in a string that contains $NAME expressions” | 2,275,866 | 2019-03-09 |
| env-cmd v11.0.0 | toddbluhm | “Executes a command using the environment variables in an env file” | 2,083,150 | 2025-08-23 |
| path-name v1.0.0 | zkochan | “Cross-platform PATH env name” | 1,066,042 | 2016-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,027 | 2026-11-14 |
| @types/babel__preset-env v7.10.0 | types | “TypeScript definitions for @babel/preset-env” | 567,975 | 2025-01-26 |
| @types/proxy-from-env v1.0.4 | types | “TypeScript definitions for proxy-from-env” | 491,803 | 2023-11-07 |
| serverless-export-env v2.2.0 | arabold | “Serverless plugin to export environment variables into a .env file” | 224,156 | 2022-06-16 |
| @stacksjs/env v0.75.634 | chrisbreuer | “Stacks env helper methods.” | 59,885 | 2026-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,957 | 2024-07-18 |
| @types/env-ci v3.1.4 | types | “TypeScript definitions for env-ci” | 39,215 | 2023-11-07 |
| node-env-run v4.0.2 | dkundel | “Wrapper executable to load env variables from .env and run Node” | 19,074 | 2020-09-30 |
| env v0.0.2 | dshaw | “Environment variable manager” | 14,985 | 2011-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