typescript-json-validator
iglu-central
typescript-json-validator | iglu-central | |
---|---|---|
3 | 1 | |
226 | 115 | |
- | 0.9% | |
0.0 | 8.1 | |
5 months ago | about 1 month ago | |
TypeScript | Shell | |
MIT License | Apache License 2.0 |
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.
iglu-central
What are some alternatives?
runtypes - Runtime validation for static types
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
ts-json-schema-generator - Generate JSON schema from your Typescript sources
Snowplow - The enterprise-grade behavioral data engine (web, mobile, server-side, webhooks), running cloud-natively on AWS and GCP
schema - FrontAid CMS Schema
io-ts - Runtime type system for IO decoding/encoding
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
Recordari - Recordari is a type and structure validation tool for configuration files
tiny-schema-validator - JSON schema validator