typescript-json-validator
Recordari
typescript-json-validator | Recordari | |
---|---|---|
3 | 2 | |
226 | 4 | |
- | - | |
0.0 | 0.0 | |
5 months ago | about 5 years ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
typescript-json-validator
- (title: string)
-
Testing in production: using JSON Schema for 3rd party API response validation
I used https://github.com/ForbesLindesay/typescript-json-validator for a service I built recently. It parses TS types and turns them into a validator function - seems to work very well so far.
There’s a conversion of the typ to JSON schema under the hood.
-
I squeezed every brain cell to create this library
I just started using https://github.com/ForbesLindesay/typescript-json-validator.
Recordari
-
I squeezed every brain cell to create this library
Cool! I did something similar a while back, if you want to see another way of implementing the same kind of project :) https://github.com/Olian04/Recordari
-
Fluent JSON validator -- an easy-to-use and flexible JSON object validator with a nice builder pattern API!
I made something similar a while back :) https://github.com/Olian04/Recordari
What are some alternatives?
runtypes - Runtime validation for static types
zod - TypeScript-first schema validation with static type inference
ts-json-schema-generator - Generate JSON schema from your Typescript sources
io-ts - Runtime type system for IO decoding/encoding
schema - FrontAid CMS Schema
tiny-schema-validator - JSON schema validator
fluent-json-validator - An easy-to-use, expressive, and composable JSON object validator, with a fluent builder pattern interface!
iglu-central - Contains all JSON Schemas, Avros and Thrifts for Iglu Central
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
Snowplow - The enterprise-grade behavioral data engine (web, mobile, server-side, webhooks), running cloud-natively on AWS and GCP