Packages

Configuration & Environment Packages

Configuration loading and environment-variable management libraries for keeping app settings and secrets out of source code (dotenv, python-dotenv).

96 packages

Packages in Configuration & Environment

77Health
Library npm

dotenv

Loads environment variables from a .env file into process.env for Node.js apps.

20,561
Other
Used by 222
74Health
Library PyPI

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

8,917
BSD 3
Used by 73
53Health
Tool npm

dotenv-cli

A command-line tool that loads .env files and runs any command with those environment variables set.

602
MIT
Used by 32
77Health
Library Cargo

toml

A native Rust encoder and decoder for TOML with first-class Serde support.

1,088
Apache 2.0
Used by 31
49Health
Library Go

godotenv

A Go port of Ruby's dotenv that loads environment variables from .env files into your process, with zero third-party dependencies.

10,681
MIT
Used by 27
82Health
Library npm

JSON5

JSON for humans: an extended JSON syntax with comments, trailing commas, and unquoted keys for hand-written config.

7,179
MIT
Used by 27
90Health
Library PyPI

pydantic-settings

Type-safe application settings management for Python, built on Pydantic models.

1,496
MIT
Used by 27
47Health
Library Go

Viper

A complete configuration solution for Go applications, merging flags, env vars, config files, and remote stores into one API.

30,500
MIT
Used by 24
50Health
Library npm

@t3-oss/env-core

Typesafe environment variables for TypeScript, validated at boot with any Standard Schema validator.

4,022
MIT
Used by 24
55Health
Library Cargo

dotenvy

A well-maintained, actively developed fork of the dotenv crate for loading .env files in Rust

1,262
MIT
Used by 19
65Health
Library PyPI

tomli

A lil' TOML parser for Python — fast, spec-compliant, and dependency-free.

576
MIT
Used by 19
86Health
Library npm

@nestjs/config

The official NestJS configuration module for loading, validating, and injecting environment variables.

593
MIT
Used by 17
62Health
Library Go

toml

A reflection-based TOML decoder and encoder for Go, built to feel like encoding/json.

5,031
MIT
Used by 14
66Health
Library npm

electron-store

Simple, encrypted JSON persistence for your Electron app — save user settings, window state, and cache across the main and renderer processes.

5,030
MIT
Used by 14
40Health
Library PyPI

toml

A pure-Python library for parsing and creating TOML documents, validated against the official TOML test suite.

1,138
MIT
Used by 14
53Health
Library npm

dotenv-expand

Expands variable references, command substitution, and encrypted values in dotenv-parsed .env files.

1,057
BSD 3
Used by 14
92Health
Library PyPI

platformdirs

Determine platform-specific user directories for data, config, cache, and logs

1,001
MIT
Used by 13
45Health
Library Go

envconfig

A lightweight, dependency-free Go library that populates typed structs from environment variables using reflection and struct tags.

5,472
MIT
Used by 11
71Health
Library npm

conf

Simple, schema-validated config file persistence for Node.js apps and CLI tools

1,350
MIT
Used by 10
85Health
Tool npm

dotenvx

A secure, cross-platform dotenv replacement that encrypts .env files and runs any command with decrypted secrets injected — no code changes required.

5,876
BSD 3
Used by 9
78Health
Library Go

koanf

A lightweight, extensible Go library for reading and merging configuration from files, env vars, flags, and remote sources.

4,231
MIT
Used by 7
77Health
Library Cargo

config

Layered configuration system for Rust applications with strong 12-factor support

3,223
Apache 2.0
Used by 7
54Health
Library npm

ci-info

Zero-dependency detection of the current CI environment, vendor, and pull-request status in Node.js.

366
MIT
Used by 7
33Health
Library npm

proxy-from-env

Resolves the correct proxy URL for a request by reading standard *_PROXY and NO_PROXY environment variables

72
MIT
Used by 7

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers