nowfound

Life & fun · October 6, 2023

AT

A tool to Convert JSON schemas into TypeScript Deno classes

Hello all To preface this is just something I've been making as a learning exercise, so all feedback is appreciated. This is a tool that converts JSON schemas into TypeScript utility classes for use in Deno. Automatic Type Generation: Typescript interfaces for the compressed and uncompressed versions of your data. Compression & Decompression: Compress and decompress your data. Validation: Built-in data validation using Ajv ensures your data adheres to the schema. Reusability: Once generated, the utility classes can be used in other Deno projects. It currently only supports a subset of JSON…

In plain words

This tool converts JSON schemas into TypeScript utility classes for use in Deno projects. It automatically generates TypeScript interfaces for compressed and uncompressed data versions, includes built-in compression, decompression, and validation features using Ajv, and allows generated classes to be reused across Deno projects. Currently supporting a subset of JSON schema features, it was created as a learning exercise to streamline structured data handling with language models.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Hello all To preface this is just something I've been making as a learning exercise, so all feedback is appreciated. This is a tool that converts JSON schemas into TypeScript utility classes for use in Deno. Automatic Type Generation: Typescript interfaces for the compressed and uncompressed versions of your data. Compression & Decompression: Compress and decompress your data. Validation: Built-in data validation using Ajv ensures your data adheres to the schema. Reusability: Once generated, the utility classes can be used in other Deno projects. It currently only supports a subset of JSON schema features. I'll eventually hope to expand it to support more features. 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'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.

More life & fun this month

the category →
  • TL

    Life & fun · 10d ago · louisabraham.github.io

  • Photosynthesis fires two of your iPhone

    Life & fun · 28d ago · photosynthesis.camera

  • SoloUno310

    Take control of hair pulling, nail biting & skin picking

    Life & fun · 28d ago · solouno.io

  • Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.

    Life & fun · 26d ago · everycube.alen.is

  • The Interactive 3D Encyclopedia

    Life & fun · 21d ago · expeditione.fun

  • Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…

    Life & fun · 26d ago · baselashraf81.github.io

Launched alongside, October 2023

the whole month →
  • AI autopilot for content creation & marketing

    AI · 2023 · typeface.ai

  • Nudge 2.01,051

    In-app experiences to activate, retain, & understand users

    Growth · 2023 · nudgenow.com

  • World's first open source AI scheduling assistant

    AI · 2023 · cal.com

  • Unlock AI magic for elevated customer engagement, fast

    AI · 2023 · tiledesk.com

  • TalkNotes854

    Turn your thoughts into actionable notes, fast

    AI · 2023 · talknotes.io

  • OD

    Effortlessly discover API behaviour with a Chrome extension that automatically generates OpenAPI specifications in real time for any app or website.

    Dev tools · 2023 · github.com