@quintal/environment
v1.0.1
Published
Framework-agnostic environment variable validation for TypeScript powered by Zod
Downloads
18
Maintainers
Readme
Quintal Environment
Framework-agnostic environment variable validation for TypeScript powered by Zod
Features
- 🔍 Use Zod to validate and transform environment variables,
- 🔒 Secure environment variables by marking them as server-only,
- 📦 Nest environment variables into groups,
- ✅ CommonJS and ES Modules support,
- ⚖️ Super lightweight (only ~10kb gzipped),
- 🧪 100% test coverage,
- 🛡️ Enjoy full type-safety in every step of the process.
Table of Contents
Getting Started
pnpm add @quintal/environment
# or
bun add @quintal/environment
# or
yarn add @quintal/environment
# or
npm install @quintal/environment
Examples
Check out these examples to get started quickly: