Tuple Talks, Episode 1 – Data Validation in TypeScript

Tuple Talks is a series of live streams where we talk casually about TypeScript and web development.

This show features Michał Miszczyszyn and Jakub Rożek talking casually about things like JTD, JSON Schema, Ajv, and beyond. Get yourself up to speed with the best industry practices directly from some of the best TS experts out there.

💻 Resources 💻
👉 JSON Schema: https://json-schema.org/
👉 AJV, The fastest JSON schema Validator: https://ajv.js.org/
👉 Compile JSON Schema to TypeScript typings: https://www.npmjs.com/package/json-schema-to-typescript

👉 TypeBox, JSON Schema Type Builder with Static Type Resolution for TypeScript: https://github.com/sinclairzx81/typebox

👉 JSON Typedef, easier json-schema-like format: https://jsontypedef.com/
👉 JSON Typedef – introduction: https://jsontypedef.com/docs/jtd-in-5-minutes/
👉 JSON Typedef – generate data from schema: https://jsontypedef.com/docs/jtd-fuzz/
👉 JSON Typedef – generate schema from data: https://jsontypedef.com/docs/jtd-infer/
👉 JSON Typedef – generate TypeScript/Java/C# models: https://jsontypedef.com/docs/jtd-codegen/

👉 io-ts, functional approach to validation: https://github.com/gcanti/io-ts

👉 zod, popular lightweight TypeScript validation library: https://github.com/colinhacks/zod