Package category
Configuration
Load and validate configuration from files and environment variables.
263 packages10 comparisons
Packages compared
263 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| mega-linter-runner Local runner for MegaLinter | 2.6k | -65% | - | 20 days ago 10.1.0 | ESM only | None | Linting and formatting, Parsers and serialisers | |
| nestjs-config Easy to use Nest configuration module | 2.5k | -31% | - | - 1.4.11 | CommonJS | None | Configuration | |
| centig The Configuration Management library for your JavaScript application | 2.5k | +160% | - | 6 years ago 1.1.3 | CommonJS | Bundled | Configuration | |
| exp-config Simple configuration management | 2.5k | +9% | - | - 5.0.0 | CommonJS | Bundled | Configuration | |
| parse-env-string Parse a string containing environment variables to a key/value object | 2.4k | -35% | - | 3 years ago 1.0.1 | CommonJS | None | Configuration, Node.js utilities | |
| universal-config Configuration for your universal Javascript application | 2.3k | +12% | - | 9 years ago 0.3.0 | CommonJS | None | Bundlers, Configuration | |
| @varlock/bitwarden-plugin Varlock plugin to load secrets from Bitwarden Secrets Manager and Password Manager (and Vaultwarden) | 2.3k | - | - | - | 1 month ago 2.0.1 | ESM only | None | Configuration, Node.js utilities |
| @artsy/multienv Load multiple dotenv style environment files. | 2.3k | - | - | - | 3 months ago 1.8.0 | CommonJS | None | Configuration, Node.js utilities |
| dotenv-flow-webpack A webpack plugin that allows you to securely use environment variables within your javascript web application, loading them using dotenv-flow's `.env*` files loading strategy. | 2.3k | -54% | - | 2 years ago 2.0.0 | CommonJS | None | Configuration, Bundler plugins and loaders | |
| envar Library to read environment variables, including npm package config, custom config file, command line and default object | 2.3k | -72% | - | 10 years ago 2.0.0 | CommonJS | None | CLI tools and terminal utilities, Configuration | |
| sync-dotenv Keep your .env in sync with .env.example | 2.3k | +70% | - | 4 years ago 2.7.0 | CommonJS | Bundled | Configuration, Node.js utilities | |
| env-vars-doctor Environment variable management for monorepos - sync, validate, and diagnose .env files across workspaces | 2.2k | - | - | 7 months ago 1.4.1 | ESM + CommonJS | Bundled | Configuration, Build tools | |
| env2json Export environment variables to JSON or JavaScript | 2.2k | +120% | - | 8 years ago 1.1.0 | CommonJS | None | Node.js utilities, Parsers and serialisers | |
| template2env A micro dependency that interpolates environment variables | 2.1k | -15% | - | 10 years ago 1.0.4 | CommonJS | None | Configuration | |
| dotenv-cra Create React App style dotenv support for Node projects. | 2.1k | -12% | - | 3 years ago 3.0.3 | CommonJS | None | Configuration, Node.js utilities | |
| @optique/config Configuration file support for Optique with Standard Schema validation | 1.9k | - | - | - | 9 days ago 1.3.0 | ESM + CommonJS | Bundled | CLI tools and terminal utilities, Schema validation |
| var Use strongly typed environment variables like a boss | 1.9k | +126% | - | 6 years ago 0.4.0 | CommonJS | None | Configuration, Node.js utilities | |
| @tltdh61/dotenvrtdb A CLI tool to load environment variables from .env files with remote database support | 1.9k | - | - | - | 4 months ago 1.260430.11650 | CommonJS | None | Configuration, Node.js utilities |
| middy-env Environment variable middleware for the middy framework | 1.9k | +41% | - | 5 years ago 2.0.0 | CommonJS | None | Configuration, Cloud SDKs | |
| valibot-env type-safe environment variables with valibot | 1.9k | +91% | - | 11 months ago 1.0.0 | ESM only | Bundled | Configuration, Node.js utilities | |
| @onlineapps/runtime-config Runtime configuration resolver with schema-driven priority (explicit config → ENV → owner defaults) | 1.9k | - | - | - | 10 days ago 1.2.0 | CommonJS | None | Configuration |
| @octocodeai/config Octocode unified env + config loader — zero deps, shared by MCP, CLI, extension, agent, and standalone skills. | 1.9k | - | - | - | 14 days ago 20.0.0 | ESM only | Bundled | Configuration, Node.js utilities |
| env-yaml Minimal YAML .env file loader | 1.8k | +13% | - | 9 years ago 0.1.2 | CommonJS | None | Configuration, Node.js utilities | |
| @varlock/astro-integration Astro integration to use varlock for .env file loading - adds validation, type-safety, and extra security features | 1.8k | - | - | - | 13 days ago 1.4.2 | ESM only | Bundled | Configuration, Schema validation |
| rcfile Loads library configuration in all possible ways | 1.8k | -80% | - | - 1.0.3 | CommonJS | None | Configuration | |
| @beesley/ts-env An environment variable reader for TypeScript | 1.8k | - | - | - | 2 years ago 1.0.1 | ESM + CommonJS | Bundled | TypeScript tooling, Configuration |
| envinos Sync your local environment variables from external source shared among developers | 1.7k | +228% | - | 1 year ago 1.0.6 | ESM + CommonJS | Bundled | Configuration, Node.js utilities | |
| aws-param-env-sdkv3 Module for synchronously loading AWS SSM Parameter Store values into environment variables, fork of aws-param-env using awsdkv3 | 1.7k | +1107% | - | 3 years ago 3.0.0 | CommonJS | None | Cloud SDKs, Configuration | |
| nconf-esm Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging. | 1.7k | -54% | - | - 0.0.6 | ESM + CommonJS | Bundled | Configuration | |
| mix-env-file Allows Laravel Mix to use to a specific .env file | 1.7k | -46% | - | 5 years ago 0.1.1 | CommonJS | None | Configuration, Node.js utilities | |
| @nitra/check-env Check that the critical environment variables are set | 1.7k | - | - | - | 2 months ago 4.2.1 | ESM only | Bundled | Configuration, Node.js utilities |
| camelspace Transform flat ENVIRONMENT_VARIABLES into deep { environment: { variables } } objects and vice versa. | 1.7k | -41% | - | 5 years ago 2.0.0 | CommonJS | None | Configuration, Node.js utilities | |
| serverless-plugin-static-env Replace environment variables with static strings before deployment. It is for Lambda @ Edge. | 1.6k | +51% | - | 5 years ago 1.0.0 | CommonJS | None | Configuration, Node.js utilities | |
| @varlock/azure-key-vault-plugin Varlock plugin to load secrets from Azure Key Vault | 1.6k | - | - | - | 1 month ago 1.2.3 | ESM only | None | Configuration, Node.js utilities |
| require-environment-variables Require specific environment variables. If they don't exist, the application exits | 1.5k | +77% | - | 2 years ago 2.0.0 | CommonJS | None | Configuration, Node.js utilities | |
| multi-ini An ini-file parser which supports multi line, multiple levels and arrays to get a maximum of compatibility with Zend config files. | 1.5k | -61% | - | - 2.3.2 | CommonJS | None | Configuration, Parsers and serialisers | |
| yaml-env-defaults Read yaml file with environment variables substitution | 1.5k | -53% | - | 3 years ago 2.0.5 | CommonJS | Bundled | Configuration, Node.js utilities | |
| envsitter-guard OpenCode plugin that prevents agents/tools from reading or editing sensitive .env* files, while still allowing safe inspection via EnvSitter. | 1.5k | - | - | 8 months ago 0.0.4 | ESM only | Bundled | Configuration, Node.js utilities | |
| envsitter Safely inspect and match .env secrets without exposing values | 1.5k | - | - | 8 months ago 0.0.4 | ESM only | Bundled | Configuration, Node.js utilities | |
| etc Configuration loader for node.js applications | 1.5k | +144% | - | - 1.1.2 | CommonJS | None | Configuration, Database clients and drivers | |
| parse-pairs Parse key-value pairs (like environment variables) | 1.4k | +28% | - | 3 years ago 2.0.0 | - | None | Configuration, Node.js utilities | |
| cz A simple config utility for nodejs | 1.4k | -34% | - | - 1.8.2 | CommonJS | None | Configuration | |
| @hubble-ventures/infisicml Declarative Infisical secret manifests for monorepos — pull, validate, and diff per-package secrets, with native GitHub Actions support. | 1.3k | - | - | - | 1 month ago 3.0.0 | ESM only | Bundled | Build tools, Configuration |
| @darkobits/env Functional environment variable getter/parser. | 1.3k | - | - | - | 3 years ago 2.0.0 | ESM only | Bundled | Configuration |
| envkey EnvKey secures and simplifies configuration and secrets management. | 1.3k | +6% | - | 3 years ago 2.5.1 | CommonJS | None | Configuration | |
| @apst/biome A shareable Biome configuration | 1.3k | - | - | - | 3 months ago 0.3.2 | ESM only | None | TypeScript tooling, Configuration |
| @dotenvx/dotenvx-ext-vault 🔐 manage .env.vault files | 1.3k | - | - | - | 1 year ago 0.3.2 | CommonJS | None | Configuration, Node.js utilities |
| local-repl Project-specific REPL configuration | 1.3k | -43% | - | - 4.0.0 | - | None | CLI tools and terminal utilities, Configuration | |
| next-runtime-dotenv Expose environment variables to the runtime config of Next.js | 1.2k | -5% | - | 3 years ago 1.5.1 | CommonJS | None | Configuration, Node.js utilities | |
| @asafarim/envage Secure, age-based encryption/decryption for .env files across multiple environments and monorepo app folders | 1.2k | - | - | - | 2 months ago 0.4.2 | ESM only | Bundled | Configuration, Build tools |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- mega-linter-runnerLocal runner for MegaLinter
- nestjs-configEasy to use Nest configuration module
- centigThe Configuration Management library for your JavaScript application
- exp-configSimple configuration management
- parse-env-stringParse a string containing environment variables to a key/value object
- universal-configConfiguration for your universal Javascript application
- @varlock/bitwarden-pluginVarlock plugin to load secrets from Bitwarden Secrets Manager and Password Manager (and Vaultwarden)
- @artsy/multienvLoad multiple dotenv style environment files.
- dotenv-flow-webpackA webpack plugin that allows you to securely use environment variables within your javascript web application, loading them using dotenv-flow's `.env*` files loading strategy.
- envarLibrary to read environment variables, including npm package config, custom config file, command line and default object
- sync-dotenvKeep your .env in sync with .env.example
- env-vars-doctorEnvironment variable management for monorepos - sync, validate, and diagnose .env files across workspaces
- env2jsonExport environment variables to JSON or JavaScript
- template2envA micro dependency that interpolates environment variables
- dotenv-craCreate React App style dotenv support for Node projects.
- @optique/configConfiguration file support for Optique with Standard Schema validation
- varUse strongly typed environment variables like a boss
- @tltdh61/dotenvrtdbA CLI tool to load environment variables from .env files with remote database support
- middy-envEnvironment variable middleware for the middy framework
- valibot-envtype-safe environment variables with valibot
- @onlineapps/runtime-configRuntime configuration resolver with schema-driven priority (explicit config → ENV → owner defaults)
- @octocodeai/configOctocode unified env + config loader — zero deps, shared by MCP, CLI, extension, agent, and standalone skills.
- env-yamlMinimal YAML .env file loader
- @varlock/astro-integrationAstro integration to use varlock for .env file loading - adds validation, type-safety, and extra security features
- rcfileLoads library configuration in all possible ways
- @beesley/ts-envAn environment variable reader for TypeScript
- envinosSync your local environment variables from external source shared among developers
- aws-param-env-sdkv3Module for synchronously loading AWS SSM Parameter Store values into environment variables, fork of aws-param-env using awsdkv3
- nconf-esmHierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.
- mix-env-fileAllows Laravel Mix to use to a specific .env file
- @nitra/check-envCheck that the critical environment variables are set
- camelspaceTransform flat ENVIRONMENT_VARIABLES into deep { environment: { variables } } objects and vice versa.
- serverless-plugin-static-envReplace environment variables with static strings before deployment. It is for Lambda @ Edge.
- @varlock/azure-key-vault-pluginVarlock plugin to load secrets from Azure Key Vault
- require-environment-variablesRequire specific environment variables. If they don't exist, the application exits
- multi-iniAn ini-file parser which supports multi line, multiple levels and arrays to get a maximum of compatibility with Zend config files.
- yaml-env-defaultsRead yaml file with environment variables substitution
- envsitter-guardOpenCode plugin that prevents agents/tools from reading or editing sensitive .env* files, while still allowing safe inspection via EnvSitter.
- envsitterSafely inspect and match .env secrets without exposing values
- etcConfiguration loader for node.js applications
- parse-pairsParse key-value pairs (like environment variables)
- czA simple config utility for nodejs
- @hubble-ventures/infisicmlDeclarative Infisical secret manifests for monorepos — pull, validate, and diff per-package secrets, with native GitHub Actions support.
- @darkobits/envFunctional environment variable getter/parser.
- envkeyEnvKey secures and simplifies configuration and secrets management.
- @apst/biomeA shareable Biome configuration
- @dotenvx/dotenvx-ext-vault🔐 manage .env.vault files
- local-replProject-specific REPL configuration
- next-runtime-dotenvExpose environment variables to the runtime config of Next.js
- @asafarim/envageSecure, age-based encryption/decryption for .env files across multiple environments and monorepo app folders