{"library":"json-schema-to-decoders","type":"library","category":null,"description":"Converts JSON Schema definitions into TypeScript/JavaScript decoder expressions using the decoders.cc library. The package generates source code strings for decoding runtime values according to schema specifications. Version 0.2.6 supports JSON Schema drafts and integrates with the decoders runtime via optional utility library. Key differentiators: CLI and programmatic API, synchronous and asynchronous conversion functions, support for $ref resolution and namespace prefixes. Ideal for projects that already use the decoders library for runtime validation.","language":"javascript","status":"active","version":"0.2.6","tags":["javascript","JSON","schema","json-schema","jsonschema","typescript","generator","validator","json-schema-validator"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install json-schema-to-decoders","imports":["import converter from 'json-schema-to-decoders';","import converter from 'json-schema-to-decoders'; const { convertSchema } = converter;","import converter from 'json-schema-to-decoders'; converter.convertFile('path/to/schema.json');"]},{"cmd":"yarn add json-schema-to-decoders","imports":[]},{"cmd":"pnpm add json-schema-to-decoders","imports":[]}],"homepage":"https://github.com/wavesoft/json-schema-to-decoders#readme","github":"ssh://git@github.com/wavesoft/json-schema-to-decoders","docs":null,"changelog":null,"pypi":null,"npm":"json-schema-to-decoders","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}