Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/json_schema_aot/mod.ts

Ahead-of-time code generator for JSON Schema validation and type declarations
Latest
import * as jsonSchemaAot from "https://deno.land/x/json_schema_aot@0.2.1/mod.ts";

Functions

Generate TypeScript declaration file (.d.ts) for titled types in the given JSON Schema.

Generate JavaScript code for validating and parsing the given JSON Schema. This should be done during development and the resulting code should be checked into source control.

Generate TypeScript declarations and code for validating and parsing the given JSON Schema. This should be done during development and the resulting code should be checked into source control.