Packages

Configuration & Environment Packages

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

100 packages

Packages in Configuration & Environment

56Health
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
34Health
Library npm

proxy-from-env

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

73
MIT
Used by 7
70Health
Library Composer

Symfony Dotenv

Parses .env files and registers their values as environment variables for PHP applications

3,790
MIT
Used by 6
94Health
Library Go

HCL v2

A Go toolkit for parsing, evaluating, and generating HashiCorp's HCL configuration language.

5,823
MPL-2.0
Used by 5
48Health
Library npm

dotenv-webpack

A secure Webpack plugin that loads dotenv variables into your bundle while exposing only what your code actually references.

1,295
MIT
Used by 5
64Health
Library Go

xdg

Cross-platform Go library for resolving XDG Base Directory and user directory paths on Unix, macOS, Windows, and Plan 9.

1,024
MIT
Used by 5
45Health
Library npm

configstore

Easily load and persist config without having to think about where and how it's stored on disk.

893
Other
Used by 5
33Health
Library Cargo

directories

A tiny Rust library that resolves the platform-specific, user-accessible config, cache, and data directory paths for Linux, macOS, and Windows.

836
Other
Used by 5
48Health
Library npm

next-runtime-env

Populate Next.js environment variables at runtime instead of build time

652
MIT
Used by 5
49Health
Library npm

strip-json-comments

Strip comments from JSON strings so you can safely use JSONC config files.

625
MIT
Used by 5
23Health
Library Cargo

temp-env

Set environment variables temporarily for the duration of a closure, mainly for Rust tests.

46
Other
Used by 5
67Health
Library Go

env

A simple, zero-dependencies Go library that parses environment variables directly into struct fields using tags.

6,343
MIT
Used by 4
58Health
Library PyPI

django-environ

Configure Django apps with twelve-factor environment variables and URL-based settings.

3,172
MIT
Used by 4
54Health
Library npm

defu

Recursively assign default properties to objects with smart array concatenation and full TypeScript inference.

1,367
MIT
Used by 4
85Health
Library npm

c12

Smart configuration loader for JavaScript and TypeScript that merges config files, RC files, package.json fields, dotenv, and remote extends into one resolved config.

904
MIT
Used by 4
39Health
Library npm

dotenv-flow

Loads NODE_ENV-specific .env files with local overrides, extending dotenv with a predictable file cascade.

902
MIT
Used by 4
90Health
Framework PyPI

Hydra

A Python framework for elegantly configuring complex applications through composable hierarchical configs.

10,715
MIT
Used by 3
73Health
Library npm

config

Hierarchical configuration management for Node.js apps, with environment-specific overrides and multi-format file support.

6,430
MIT
Used by 3
52Health
Tool Composer

Symfony Flex

The Composer plugin that automates recipe installation and scaffolding for Symfony apps.

4,212
MIT
Used by 3
64Health
Library npm

cosmiconfig

Find and load configuration from package.json, rc files, or JS/TS/JSON/YAML config files

4,168
MIT
Used by 3
82Health
Library PyPI

OmegaConf

A hierarchical YAML-based configuration library that merges files, CLI args, and structured schemas with runtime type safety.

2,442
BSD 3
Used by 3
66Health
Library npm

envalid

Type-safe environment variable validation and cleanup for Node.js and Bun with zero runtime dependencies.

1,589
MIT
Used by 3
62Health
Library PyPI

tyro

Generate command-line interfaces and config objects directly from Python type annotations.

1,134
MIT
Used by 3
72Health
Library Go

defaults

Initialize Go structs with default values using simple struct tags and reflection.

864
MIT
Used by 3

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