Skip to content
JS
Package category

Configuration

Load and validate configuration from files and environment variables.

263 packages10 comparisons

Packages compared

263 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@firanorg/mollitia-molestias-accusamus
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
6.7k---1 year ago
10.13.142
CommonJSNoneCLI tools and terminal utilities, Testing
parse-dotenv
Zero dependency .env to object parser
6.7k-9%-6 years ago
2.1.0
ESM + CommonJSBundledConfiguration, Node.js utilities
shortstop
Enable use of protocols (such as file:, buffer:, or method:) in configuration files.
6.6k-15%--
1.1.0
CommonJSNoneConfiguration
react-native-keys
🔐 Make protected .ENVs variables
6k+61%-1 year ago
0.7.13
CommonJSNoneConfiguration, React
traced-config
Configuration management with key-level source tracing. Know where every value came from.
6k--5 months ago
0.3.0
ESM onlyBundledConfiguration, CLI tools and terminal utilities
tailwindcss-config
Tailwind CSS configuration loader for cross-platform toolchains. 跨端工具链的 Tailwind CSS 配置加载器。
6k+232%-4 days ago
2.0.5
ESM + CommonJSBundledCSS-in-JS and styling, Configuration
nginx-conf
Dynamically update nginx configuration files via programmatic API
5.9k-62%--
2.1.0
CommonJSBundledConfiguration
react-dotenv
Load environment variables dynamically for your React applications created with CRA (Create-React-App).
5.8k-29%-5 years ago
0.1.3
ESM + CommonJSBundledConfiguration, Node.js utilities
cordova-custom-config
Cordova/Phonegap plugin to update platform configuration files based on preferences and config-file data defined in config.xml.
5.6k+42%--
5.2.1
-NoneConfiguration
env-path
Loads environment variables from a chosen .env file into process.env
5.5k+37%-7 years ago
1.0.7
CommonJSNoneConfiguration, Node.js utilities
dotenv-run-script
Run NPM scripts in specific environments
5.5k-32%-3 years ago
0.4.1
CommonJSNoneConfiguration, Node.js utilities
dotenv-load
Load environment variables from .env, .env.local, .env.production, etc. when running a npm or yarn command
5.4k-15%-3 years ago
3.0.0
CommonJSBundledConfiguration, Node.js utilities
env-lift
Simple namespaced environment variable configuration management solution
5.2k-18%-11 years ago
0.0.3
CommonJSNoneConfiguration
require-json5
Require JSON5 files in node - a better JSON for ES5 era
4.9k-17%-4 years ago
1.3.0
CommonJSBundledConfiguration
@buka/nestjs-config
An easy to use nestjs config module
4.9k---4 months ago
2.4.3
ESM + CommonJSBundledConfiguration, Node.js utilities
@neondatabase/env
Resolve and inject Neon connection strings for the branch selected by your neon.ts policy. fetchEnv / parseEnv plus a `neon-env` CLI with `run` and `export`.
4.7k---2 days ago
1.4.4
ESM onlyBundledConfiguration, Node.js utilities
sails-env-switch
loads environment config based on SAILS_ENV value
4.6k+11%-9 years ago
1.0.0
CommonJSNoneConfiguration
dotenv-stringify
Compose a envfile string from an object, per the motdotla/dotenv parser specifications
4.6k-24%-2 years ago
3.0.1
ESM + CommonJSNoneConfiguration, Node.js utilities
package-options
The single point to load options for your node package
4.3k+97%-4 months ago
0.2.0
CommonJSBundledCLI tools and terminal utilities, Configuration
12factor-env
Environment variable validation for 12-factor apps
4.2k+76381%-8 days ago
1.33.0
ESM + CommonJSBundledConfiguration, Schema validation
babel-plugin-dotenv
Load environment variables from .env file using import statement
4.1k-16%-8 years ago
0.1.1
CommonJSNoneConfiguration, Node.js utilities
figue
Platform agnostic configuration management library, with environmental variables and validation, like convict but cross-env and zod schemas
4.1k+122%-3 months ago
3.3.0
ESM onlyBundledConfiguration
nestjs-param-store
Configure your NestJS application with AWS Parameter Store
4k+445%--
1.3.1
CommonJSBundledCloud SDKs, Configuration
next-env
Automatic static (build-time) or runtime environment variables injection for [Next.js](https://github.com/zeit/next.js).
4k-19%-6 years ago
1.1.1
CommonJSNoneConfiguration, Node.js utilities
babel-plugin-dotenv-import
Load environment variables using import statements.
3.9k-55%-3 years ago
3.0.1
CommonJSNoneConfiguration, Node.js utilities
@yolk-oss/elysia-env
env plugin for Elysia.js
3.9k---6 months ago
3.0.1
ESM + CommonJSBundledConfiguration
electron-conf
Simple data persistence for your Electron app - save and load user settings, app state, cache, etc
3.7k+429%-1 year ago
1.3.0
ESM + CommonJSBundledConfiguration
docusaurus-plugin-dotenv
A Docusaurus2 plugin that provides out-of-the-box support for Dotenv
3.7k+142%-5 years ago
1.0.1
CommonJSNoneConfiguration, Node.js utilities
pyconf
Read and write python config files non-destructively (preserves comments)
3.7k-58%--
1.1.7
CommonJSNoneConfiguration
detect-terminal
Detect the terminal program currently being used, with support for iTerm, Terminal.app, Hyper, iTerm2, ConEmu, Cmde,r Alacritty, Xterm, Terminator, Termux, Kitty, and others. Detection is based on environment variables and process-level indicators to iden
3.6k+20341%-4 months ago
3.0.0
ESM + CommonJSBundledCLI tools and terminal utilities, Configuration
@strattadb/environment
Environment variable configuration for Node.js made easy.
3.5k---5 years ago
8.0.2
CommonJSBundledConfiguration
gitops-secrets
SecretOps workflow for bundling encrypted secrets into your deployments to safely decrypt at runtime.
3.5k-35%-3 years ago
0.0.6
ESM + CommonJSNoneConfiguration, Node.js utilities
as-a
Runs a given command with additional environment settings for simple local development
3.4k-38%--
2.2.8
CommonJSNoneConfiguration, Utility libraries
secretsfoundry
Package to manage your environment variables and secrets
3.3k+175%-2 years ago
0.1.21
CommonJSNoneConfiguration, Node.js utilities
convex-env
Type-safe access to environment variables in Convex
3.2k--4 months ago
3.0.0
ESM onlyBundledConfiguration, Node.js utilities
cloud-env
Consistent naming for cloud-provided server config strings
3.2k+192%-8 years ago
0.2.3
CommonJSNoneConfiguration
dmno
dmno is the best way to manage config / env vars in your entire stack
3.2k+75%--
0.0.41
ESM onlyBundledConfiguration
commitlint-config-cz
commitlint sharable configuration files
3.2k-23%--
0.13.3
CommonJSNoneConfiguration
@koishijs/loader
Config Loader for Koishi
3.1k---6 months ago
4.6.11
ESM + CommonJSBundledConfiguration
webpack-env
read variables from a .env.js file and make them available to webpack as globals
3.1k-44%-10 years ago
0.8.0
CommonJSNoneConfiguration
@amccarthy1/typed-env
Typed environment variables
3.1k---2 years ago
1.3.0
ESM + CommonJSBundledConfiguration, Node.js utilities
env2
Environment Variable Loader
3k+87%-8 years ago
2.2.2
CommonJSNoneCloud SDKs, Configuration
senv
A simple CLI tool for encrypting and decrypting .env files
3k-41%-8 years ago
1.0.2
CommonJSNoneConfiguration, Node.js utilities
dotenv-eval
Add command substitution to dotenv
3k+130%-4 years ago
0.2.0
CommonJSBundledConfiguration, Node.js utilities
@import-meta-env/prepare
Build once, deploy anywhere. Startup/runtime environment variable solution for JavaScript.
3k---1 year ago
0.2.3
-NoneConfiguration
@lykmapipo/env
Helper utilities for accessing environment variables
2.9k---5 years ago
0.17.39
ESM + CommonJSNoneConfiguration, Node.js utilities
dotenv-diff
Detects environment variable issues, usage, and potential security risks.
2.8k+970%-19 days ago
3.4.1
ESM onlyBundledConfiguration, CLI tools and terminal utilities
safe-env
Returns all environment variables with sensitive values hidden, great for logs
2.6k-25%-10 years ago
1.2.0
CommonJSNoneConfiguration, Node.js utilities
@varlock/expo-integration
Expo/React Native Babel plugin to use varlock for .env file loading - adds validation, type-safety, and extra security features
2.6k---1 month ago
1.2.1
ESM + CommonJSBundledConfiguration, Schema validation
dsh-config-manager
Backup, restore, export, import, migrate and sync your DeepSeek Harness (DSH) configuration: settings, plugins, MCP servers, skills, agent presets and workspaces. One-click migration to another machine. DSH 配置一键备份、恢复、导出、导入、迁移与同步插件。
2.6k---
0.1.64
ESM onlyBundledConfiguration, ORMs and query builders

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.

  • @firanorg/mollitia-molestias-accusamus[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
  • parse-dotenvZero dependency .env to object parser
  • shortstopEnable use of protocols (such as file:, buffer:, or method:) in configuration files.
  • react-native-keys🔐 Make protected .ENVs variables
  • traced-configConfiguration management with key-level source tracing. Know where every value came from.
  • tailwindcss-configTailwind CSS configuration loader for cross-platform toolchains. 跨端工具链的 Tailwind CSS 配置加载器。
  • nginx-confDynamically update nginx configuration files via programmatic API
  • react-dotenvLoad environment variables dynamically for your React applications created with CRA (Create-React-App).
  • cordova-custom-configCordova/Phonegap plugin to update platform configuration files based on preferences and config-file data defined in config.xml.
  • env-pathLoads environment variables from a chosen .env file into process.env
  • dotenv-run-scriptRun NPM scripts in specific environments
  • dotenv-loadLoad environment variables from .env, .env.local, .env.production, etc. when running a npm or yarn command
  • env-liftSimple namespaced environment variable configuration management solution
  • require-json5Require JSON5 files in node - a better JSON for ES5 era
  • @buka/nestjs-configAn easy to use nestjs config module
  • @neondatabase/envResolve and inject Neon connection strings for the branch selected by your neon.ts policy. fetchEnv / parseEnv plus a `neon-env` CLI with `run` and `export`.
  • sails-env-switchloads environment config based on SAILS_ENV value
  • dotenv-stringifyCompose a envfile string from an object, per the motdotla/dotenv parser specifications
  • package-optionsThe single point to load options for your node package
  • 12factor-envEnvironment variable validation for 12-factor apps
  • babel-plugin-dotenvLoad environment variables from .env file using import statement
  • figuePlatform agnostic configuration management library, with environmental variables and validation, like convict but cross-env and zod schemas
  • nestjs-param-storeConfigure your NestJS application with AWS Parameter Store
  • next-envAutomatic static (build-time) or runtime environment variables injection for [Next.js](https://github.com/zeit/next.js).
  • babel-plugin-dotenv-importLoad environment variables using import statements.
  • @yolk-oss/elysia-envenv plugin for Elysia.js
  • electron-confSimple data persistence for your Electron app - save and load user settings, app state, cache, etc
  • docusaurus-plugin-dotenvA Docusaurus2 plugin that provides out-of-the-box support for Dotenv
  • pyconfRead and write python config files non-destructively (preserves comments)
  • detect-terminalDetect the terminal program currently being used, with support for iTerm, Terminal.app, Hyper, iTerm2, ConEmu, Cmde,r Alacritty, Xterm, Terminator, Termux, Kitty, and others. Detection is based on environment variables and process-level indicators to iden
  • @strattadb/environmentEnvironment variable configuration for Node.js made easy.
  • gitops-secretsSecretOps workflow for bundling encrypted secrets into your deployments to safely decrypt at runtime.
  • as-aRuns a given command with additional environment settings for simple local development
  • secretsfoundryPackage to manage your environment variables and secrets
  • convex-envType-safe access to environment variables in Convex
  • cloud-envConsistent naming for cloud-provided server config strings
  • dmnodmno is the best way to manage config / env vars in your entire stack
  • commitlint-config-czcommitlint sharable configuration files
  • @koishijs/loaderConfig Loader for Koishi
  • webpack-envread variables from a .env.js file and make them available to webpack as globals
  • @amccarthy1/typed-envTyped environment variables
  • env2Environment Variable Loader
  • senvA simple CLI tool for encrypting and decrypting .env files
  • dotenv-evalAdd command substitution to dotenv
  • @import-meta-env/prepareBuild once, deploy anywhere. Startup/runtime environment variable solution for JavaScript.
  • @lykmapipo/envHelper utilities for accessing environment variables
  • dotenv-diffDetects environment variable issues, usage, and potential security risks.
  • safe-envReturns all environment variables with sensitive values hidden, great for logs
  • @varlock/expo-integrationExpo/React Native Babel plugin to use varlock for .env file loading - adds validation, type-safety, and extra security features
  • dsh-config-managerBackup, restore, export, import, migrate and sync your DeepSeek Harness (DSH) configuration: settings, plugins, MCP servers, skills, agent presets and workspaces. One-click migration to another machine. DSH 配置一键备份、恢复、导出、导入、迁移与同步插件。