Skip to main content

viper

Minimal Viper-inspired configuration library for TypeScript

Layered Configuration

Multiple config sources — defaults, config files, environment variables, and overrides — merged with clear precedence rules.

Zod Validation

Optional Zod schema validation ensures your configuration is type-safe at both compile time and runtime.

Simple & Familiar

Inspired by Go's Viper library. Dot-notation key access, case-insensitive keys, and a straightforward API.