Configuration & Environment Packages
Configuration loading and environment-variable management libraries for keeping app settings and secrets out of source code (dotenv, python-dotenv).
Packages in Configuration & Environment
dotenv
Loads environment variables from a .env file into process.env for Node.js apps.
cross-env
Cross-platform CLI for setting environment variables in npm scripts without worrying about Windows vs POSIX syntax.
python-dotenv
Load environment variables from a .env file into Python's os.environ, the standard way to keep 12-factor config out of your code
dotenv-cli
A command-line tool that loads .env files and runs any command with those environment variables set.
dirs-rs
Platform-specific standard directory paths for config, cache, and data on Linux, macOS, and Windows.
JSON5
JSON for humans: an extended JSON syntax with comments, trailing commas, and unquoted keys for hand-written config.
toml
A native Rust encoder and decoder for TOML with first-class Serde support.
godotenv
A Go port of Ruby's dotenv that loads environment variables from .env files into your process, with zero third-party dependencies.
@t3-oss/env-core
Typesafe environment variables for TypeScript, validated at boot with any Standard Schema validator.
pydantic-settings
Type-safe application settings management for Python, built on Pydantic models.
Viper
A complete configuration solution for Go applications, merging flags, env vars, config files, and remote stores into one API.
tomli
A lil' TOML parser for Python — fast, spec-compliant, and dependency-free.
dotenvy
A well-maintained, actively developed fork of the dotenv crate for loading .env files in Rust
@nestjs/config
The official NestJS configuration module for loading, validating, and injecting environment variables.
electron-store
Simple, encrypted JSON persistence for your Electron app — save user settings, window state, and cache across the main and renderer processes.