@vyckr/chex
v0.2.2
Published
CHEX is a TypeScript utility for generating type declarations from JSON schema files and validating data against those schemas. It is built to work with Bun and supports schema-driven validation and automatic interface generation.
Maintainers
Readme
CHEX
CHEX is a TypeScript utility for generating type declarations from JSON schema files and validating data against those schemas. It is built to work with Bun and supports schema-driven validation and automatic interface generation.
Features
- Generate TypeScript interfaces from JSON schemas
- Validate data against collection schemas
- Supports nullable fields, regex validation, and default values
- Automatic scanning and generation of
.d.tsfiles for all schemas in a directory
Getting Started
Installation
bun add @vyckr/chex