Viper
LiveOpen Source Library
Viper is a minimal, Viper-inspired configuration library for TypeScript, built with Zod validation and JSON5 support. It provides type-safe config management for Node.js applications, making it easy to handle environment-specific configurations with strong runtime validation. Inspired by Go's popular Viper library, it brings the same ergonomic config management to the TypeScript ecosystem.
Features
- Type-safe configuration with Zod
- JSON5 config file support
- Environment variable binding
- Hierarchical config merging
- Minimal API surface
- Zero dependencies beyond Zod
Tech Stack
TypeScriptZodJSON5Node.js