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
secure-env
Use ENVs securely with encryption
22.3k+468%-6 years ago
1.2.0
CommonJSNoneConfiguration
option-cache
Simple API for managing options in JavaScript applications.
20.3k-21%-9 years ago
4.0.0
CommonJSNoneConfiguration, Caching
remark-yaml-config
remark plugin to configure it with YAML frontmatter
20.3k+1%-3 years ago
7.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
map-config
Map configuration objects to application methods.
20k-22%-10 years ago
0.5.0
CommonJSNoneConfiguration
@proload/core
Searches for and loads your tool's JavaScript configuration files with full support for CJS, ESM, TypeScript and more.
20k---4 years ago
0.3.3
ESM + CommonJSBundledConfiguration, TypeScript tooling
base-option
Adds a few options methods to base, like `option`, `enable` and `disable`. See the readme for the full API.
19.9k-23%-9 years ago
1.0.0
CommonJSNoneConfiguration
dotenv-mono
This package permit to have a centralized dotenv on a monorepo. It also includes some extra features such as manipulation and saving of changes to the dotenv file, a default centralized file, and a file loader with ordering and priorities.
19.8k+78%-1 year ago
1.5.1
ESM + CommonJSBundledConfiguration, Node.js utilities
@soda-gql/config
Centralized configuration loader and helpers for soda-gql tooling.
19.6k---2 months ago
0.15.0
ESM + CommonJSBundledGraphQL, Configuration
mrm
Codemods for your project config files
19.2k-12%-3 years ago
4.1.22
CommonJSNoneParsers and serialisers, CLI tools and terminal utilities
require-strip-json-comments
Require .json files with comments
16.9k+2%-6 years ago
2.0.0
CommonJSNoneConfiguration
@esm2cjs/path-key
Get the PATH environment variable key cross-platform. This is a fork of sindresorhus/path-key, but with CommonJS support.
16.7k---4 years ago
4.0.0
ESM + CommonJSBundledConfiguration
@varlock/nextjs-integration
drop-in replacement for @next/env that uses varlock to load .env files with validation and extra security features
16k---24 days ago
1.2.2
CommonJSBundledConfiguration, Schema validation
@arkenv/cli
Interactive CLI for scaffolding ArkEnv projects
15.3k---2 months ago
0.5.4
ESM + CommonJSBundledCLI tools and terminal utilities, Configuration
copy-files-from-to
Copy files from one path to another, based on the instructions provided in a configuration file.
15.3k-0%-4 months ago
4.0.1
CommonJSNoneConfiguration, Files and file systems
egg-ci
Auto gen ci config file
15.2k-28%--
2.2.0
CommonJSNoneConfiguration
@varlock/infisical-plugin
Varlock plugin to load secrets from Infisical
15.2k---1 month ago
2.1.1
ESM onlyNoneConfiguration, Node.js utilities
karma-env-preprocessor
A Karma plugin to read environment variables and make them available inside your tests.
14.7k-16%--
0.1.1
CommonJSNoneConfiguration, Node.js utilities
esbuild-envfile-plugin
esbuild plugin to load a .env file from the current directory or any parent. It will combine the environment variables with existing/system-wide process.env variables.
14.6k+80%-2 years ago
1.0.7
CommonJSNoneConfiguration, Bundler plugins and loaders
ember-cli-dotenv
Expose .env variables in Ember applications
14k+29%-2 years ago
4.0.0
-NoneConfiguration, Node.js utilities
npmrc-replace-env
A utility for generating .npmrc files based on configuration template and environment variables.
13.3k+36%-6 months ago
1.2.1
ESM + CommonJSBundledConfiguration, CLI tools and terminal utilities
@dotenvx/dotenvx-armor
⛨ ARMORED KEYS: Harden your private keys.
11.8k---3 months ago
0.56.1
CommonJSBundledConfiguration, Node.js utilities
@epic-web/config
Reasonable Oxlint, Oxfmt, and TypeScript configs for epic web devs
11.5k---1 month ago
3.2.1
ESM onlyBundledTypeScript tooling, Configuration
typed-env
Typed environment variable parser
11.4k+37%-1 year ago
2.0.0
ESM + CommonJSBundledConfiguration, TypeScript tooling
node-env-run
Wrapper executable to load env variables from .env and run Node
11.2k-34%-5 years ago
4.0.2
-BundledConfiguration, Node.js utilities
next-public-env
Manage type-safe runtime environment variables in Next.js for both the server and the client.
11.1k--10 months ago
1.1.0
ESM onlyBundledSchema validation, React
rollup-plugin-dotenv
Rollup plugin that loads available .env files and replaces the defined variables with their values
10.7k+39%-2 years ago
0.5.1
ESM + CommonJSBundledConfiguration, Bundler plugins and loaders
node-yaml-config
Write your configuration files for node.js in yaml
10.6k-19%-4 years ago
1.0.0
CommonJSBundledConfiguration
@dotenv-run/cli
cli to load environment variables with monorepo support
9.8k---1 year ago
1.3.6
ESM onlyNoneConfiguration, Node.js utilities
@varlock/cloudflare-integration
Cloudflare Workers integration for varlock - deploy secrets via wrangler and auto-configure Vite
9.4k---6 days ago
1.6.0
ESM onlyBundledConfiguration, Cloud SDKs
config-ini-parser
JavaScript Configuration file(.ini) content parser, similar to python ConfigParser without I/O operations. Only one JavaScript file without any other dependencies. Compatible with NodeJS, TypeScript and Browsers.
9.2k+338%-4 years ago
1.6.1
CommonJSBundledConfiguration, Parsers and serialisers
opter
A Node JS wrapper around commander to allow for easy commandline and env var parsing
9.1k-42%-11 years ago
1.1.0
CommonJSNoneCLI tools and terminal utilities, Configuration
dotenv-linter
Linter for .env files
9k+642%-6 years ago
0.2.0
CommonJSNoneConfiguration, Node.js utilities
pmcf
Poor mans configuration management
8.9k+384%-today
6.64.2
CommonJSNoneConfiguration
@env-spec/parser
Parser for @env-spec enabled dotenv files
8.9k---6 days ago
0.6.0
ESM + CommonJSBundledConfiguration, Node.js utilities
edit-dotenv
Edit a .env file string with preserved whitespace.
8.3k+1637%-9 years ago
1.0.4
-NoneConfiguration, Node.js utilities
source-dot-env
Tiny library to load (bash) sourceable .env files.
8k+5%-10 years ago
0.1.2
CommonJSNoneConfiguration
env-dot-prop
Get, set, or delete nested properties of process.env using a dot path
7.9k-36%-6 years ago
3.0.0
CommonJSNoneConfiguration, Node.js utilities
config-dug
Config loader with support for AWS Secrets Manager
7.8k-1%-2 months ago
1.10.1
CommonJSBundledConfiguration, TypeScript tooling
zod-config
Load configuration variables from multiple sources with flexible adapters, ensuring type safety with Zod.
7.7k+298%-10 months ago
1.4.0
ESM + CommonJSBundledConfiguration, Parsers and serialisers
dot-env
An environment variable loader
7.6k-3%-12 years ago
0.0.1
CommonJSNoneConfiguration
convict-format-with-moment
Formats 'duration' and 'timestamp' for convict
7.6k-52%-5 years ago
6.2.0
CommonJSNoneConfiguration, Date and time
envars
Load environment variables from .env files. Decode secret values from AWS Secrets Manager, Google Secret Manager, and other sources.
7.6k+252%-1 year ago
1.1.1
ESM onlyBundledConfiguration, Node.js utilities
coffi
📄 A fast, lightweight, easy-to-use, configuration files loader for Bun
7.5k+603%-11 months ago
0.1.37
ESM + CommonJSBundledConfiguration
@anolilab/rc
The runtime configuration loader.
7.5k---16 days ago
4.0.9
ESM + CommonJSBundledConfiguration
dotenv-checker
🔌 CLI to check/generate .env files and maintain them synchronized
7.1k+104%-2 years ago
1.1.7
CommonJSNoneConfiguration, Node.js utilities
closest-file-data
Allow to find and retrieve some data (such as config file) related to a given path (with cache)
7.1k+11%-8 years ago
0.1.4
CommonJSBundledCaching, Files and file systems
@dotenv-run/esbuild
Run your scripts with dotenv variables
7.1k---1 month ago
1.5.3
ESM + CommonJSBundledConfiguration, Node.js utilities
@itgorillaz/configify
NestJS Config on Steroids
7k---4 months ago
4.1.2
-BundledConfiguration
@luxass/strip-json-comments
strip comments from your json
6.8k---7 days ago
2.0.2
ESM + CommonJSBundledConfiguration
@taigrr/gitward
Painless, git-tracked, encrypted secrets for your monorepo.
6.7k---7 days ago
0.1.2
ESM onlyNoneConfiguration, Node.js utilities

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.

  • secure-envUse ENVs securely with encryption
  • option-cacheSimple API for managing options in JavaScript applications.
  • remark-yaml-configremark plugin to configure it with YAML frontmatter
  • map-configMap configuration objects to application methods.
  • @proload/coreSearches for and loads your tool's JavaScript configuration files with full support for CJS, ESM, TypeScript and more.
  • base-optionAdds a few options methods to base, like `option`, `enable` and `disable`. See the readme for the full API.
  • dotenv-monoThis package permit to have a centralized dotenv on a monorepo. It also includes some extra features such as manipulation and saving of changes to the dotenv file, a default centralized file, and a file loader with ordering and priorities.
  • @soda-gql/configCentralized configuration loader and helpers for soda-gql tooling.
  • mrmCodemods for your project config files
  • require-strip-json-commentsRequire .json files with comments
  • @esm2cjs/path-keyGet the PATH environment variable key cross-platform. This is a fork of sindresorhus/path-key, but with CommonJS support.
  • @varlock/nextjs-integrationdrop-in replacement for @next/env that uses varlock to load .env files with validation and extra security features
  • @arkenv/cliInteractive CLI for scaffolding ArkEnv projects
  • copy-files-from-toCopy files from one path to another, based on the instructions provided in a configuration file.
  • egg-ciAuto gen ci config file
  • @varlock/infisical-pluginVarlock plugin to load secrets from Infisical
  • karma-env-preprocessorA Karma plugin to read environment variables and make them available inside your tests.
  • esbuild-envfile-pluginesbuild plugin to load a .env file from the current directory or any parent. It will combine the environment variables with existing/system-wide process.env variables.
  • ember-cli-dotenvExpose .env variables in Ember applications
  • npmrc-replace-envA utility for generating .npmrc files based on configuration template and environment variables.
  • @dotenvx/dotenvx-armor⛨ ARMORED KEYS: Harden your private keys.
  • @epic-web/configReasonable Oxlint, Oxfmt, and TypeScript configs for epic web devs
  • typed-envTyped environment variable parser
  • node-env-runWrapper executable to load env variables from .env and run Node
  • next-public-envManage type-safe runtime environment variables in Next.js for both the server and the client.
  • rollup-plugin-dotenvRollup plugin that loads available .env files and replaces the defined variables with their values
  • node-yaml-configWrite your configuration files for node.js in yaml
  • @dotenv-run/clicli to load environment variables with monorepo support
  • @varlock/cloudflare-integrationCloudflare Workers integration for varlock - deploy secrets via wrangler and auto-configure Vite
  • config-ini-parserJavaScript Configuration file(.ini) content parser, similar to python ConfigParser without I/O operations. Only one JavaScript file without any other dependencies. Compatible with NodeJS, TypeScript and Browsers.
  • opterA Node JS wrapper around commander to allow for easy commandline and env var parsing
  • dotenv-linterLinter for .env files
  • pmcfPoor mans configuration management
  • @env-spec/parserParser for @env-spec enabled dotenv files
  • edit-dotenvEdit a .env file string with preserved whitespace.
  • source-dot-envTiny library to load (bash) sourceable .env files.
  • env-dot-propGet, set, or delete nested properties of process.env using a dot path
  • config-dugConfig loader with support for AWS Secrets Manager
  • zod-configLoad configuration variables from multiple sources with flexible adapters, ensuring type safety with Zod.
  • dot-envAn environment variable loader
  • convict-format-with-momentFormats 'duration' and 'timestamp' for convict
  • envarsLoad environment variables from .env files. Decode secret values from AWS Secrets Manager, Google Secret Manager, and other sources.
  • coffi📄 A fast, lightweight, easy-to-use, configuration files loader for Bun
  • @anolilab/rcThe runtime configuration loader.
  • dotenv-checker🔌 CLI to check/generate .env files and maintain them synchronized
  • closest-file-dataAllow to find and retrieve some data (such as config file) related to a given path (with cache)
  • @dotenv-run/esbuildRun your scripts with dotenv variables
  • @itgorillaz/configifyNestJS Config on Steroids
  • @luxass/strip-json-commentsstrip comments from your json
  • @taigrr/gitwardPainless, git-tracked, encrypted secrets for your monorepo.