Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Zod lets you create types from parsers (which allows you to create JSON schema validators).
There's ts-json-schema-generator that generates a json schema starting from a ts class/interface. There's also a vscode extension that uses that library if you need to quickly generate a schema: https://marketplace.visualstudio.com/items?itemName=marcoq.vscode-typescript-to-json-schema
https://github.com/StefanTerdell/zod-to-json-schema#readme
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- ArkType: TypeScript's 1:1 validator, optimized from editor to runtime
- Typescript Runtime Validators and DX, a type-checking performance analysis of zod/superstruct/yup/typebox
- Yup vs Zod - What do you prefer and why?
- How would you convert such a dumb json to a type?
- I found 10,000x faster TypeScript validator library