Title: Hello all<p>To preface this is just something I&#x27;ve been making as a learning exercise, so all feedback is appreciated.<p>This is a tool that converts JSON schemas into TypeScript utility classes for use in Deno.<p>Automatic Type Generation: Typescript interfaces for the compressed and uncompressed versions of your data.<p>Compression &amp; Decompression: Compress and decompress your data.<p>Validation: Built-in data validation using Ajv ensures your data adheres to the schema.<p>Reusability: Once generated, the utility classes can be used in other Deno projects.<p>It currently only supports a subset of JSON schema features. I&#x27;ll eventually hope to expand it to support more features.<p>Reasons behind the project:
I have been working with OpenAI LLMs recently and I like to get my data output in structured JSON. I realised it&#x27;s rather good at taking a schema where properties are compressed within an instruction, and then in return it return data based on the compressed schema. These utility classes provide help with the validation, decompression etc.
Upvote: