iglu-central
typescript-json-validator
Our great sponsors
iglu-central | typescript-json-validator | |
---|---|---|
1 | 3 | |
115 | 226 | |
2.6% | - | |
8.1 | 0.0 | |
27 days ago | 5 months ago | |
Shell | TypeScript | |
Apache License 2.0 | 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.
iglu-central
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.
What are some alternatives?
openapi-cop - A proxy that validates responses and requests against an OpenAPI document. https://www.npmjs.com/package/openapi-cop https://hub.docker.com/r/lxlu/openapi-cop
runtypes - Runtime validation for static types
Snowplow - The enterprise-grade behavioral data engine (web, mobile, server-side, webhooks), running cloud-natively on AWS and GCP
ts-json-schema-generator - Generate JSON schema from your Typescript sources
schema - FrontAid CMS Schema
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
io-ts - Runtime type system for IO decoding/encoding
Recordari - Recordari is a type and structure validation tool for configuration files
tiny-schema-validator - JSON schema validator