Skip to content

About

ata-validator TypeScript inference from plain JSON Schema

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

ata-validator TypeScript inference

Plain JSON Schema in, inferred static type out. No builder DSL, no as const.

Open index.ts and hover result.data. The type is inferred from the schema literal: required keys are present, optional keys are T | undefined, arrays are T[].

The inference is pure .d.ts, zero runtime. The validator falls back to the JS engine when there is no native prebuild, so this runs with no native addon.

npm install
npm start

About

ata-validator TypeScript inference from plain JSON Schema

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages