Enchanced ENV Schema CLI (NPM Package)
The missing CLI (enhanced) and programmatic wrapper around env-schema that validates environment variables against JSON Schema.
This package provide missing CLI for env-schema and adds support for loading schemas from a file or URL and validating multiple environment files against the same schema.
Motivation
Provide the ready-made env validation for CI pipelines. Simplifies the programmatic validation to get built into custom CI pipelines code.
Key Features
- Validate multiple
.env
files against a single schema - Load schemas from local files or remote URLs
- Detailed error reporting with exact variable mismatches
- TypeScript-first design with full IDE documentation
- Zero runtime dependencies
Technical Highlights
- Custom error types with aggregated validation failures
- Schema support via file path, URL, or raw objects
- TDD codebase designed for extensibility