lostfictions

lostfictions/znv

Type-safe environment parsing and validation for Node.js with Zod schemas

TypeScript
387
10
MIT License

Znv is a TypeScript library for type-safe environment variable parsing and validation in Node.js using Zod schemas. It allows developers to define environment variable schemas with defaults, descriptions, and validation rules, then export validated, type-safe values for use in their applications. The library automatically coerces string environment variables to appropriate types, provides environment-specific defaults, and aggregates validation errors with helpful context. It's designed for Node.js applications that need robust configuration management through environment variables, particularly those using TypeScript and Zod for type safety.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of lostfictions/znv

Account's avatar
A CLI tool for arethetypeswrong.github.io
Account's avatar
TypeScript definitions for jest
Account's avatar
TypeScript definitions for node
Account's avatar
Delightful JavaScript Testing.
Account's avatar
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript
Account's avatar
TypeScript execution environment and REPL for node.js, with source map support
Account's avatar
TypeScript is a language for application scale JavaScript development
Account's avatar
TypeScript-first schema declaration and validation library with static type inference

Support the repos that depend on lostfictions/znv

Top contributors

lostfictions's profile
lostfictions
81 contributions
BowlingX's profile
BowlingX
10 contributions
cometkim's profile
cometkim
1 contributions
gyf304's profile
gyf304
1 contributions
reslear's profile
reslear
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet