typeconv
ajv-ts
typeconv | ajv-ts | |
---|---|---|
3 | 4 | |
397 | 26 | |
- | - | |
4.1 | 8.4 | |
11 months ago | 3 months 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.
typeconv
-
Publishing Rust types to a TypeScript frontend
So I'm assuming you're talking about generating Rust types from TypeScript? If you can get your typescript definitions into OpenAPI (i.e, via typeconv) you can use the openapi generator cli to generate rust types. However this is geared towards web backends rather than pure IPC or cross-lang interop.
-
How do you "stitch & glue" types for all your needs?
The class-validator / class-transform looks really nice for formatting/validation but there is also joi. suretype is attractive since theoretically typeconv could generate jsonSchema for json-schema-faker and Open API docs.
-
Anyone using decorators, or some other form of inline documentation, to generate an openapi spec file based on a typescript library?
https://github.com/grantila/typeconv/ https://github.com/airtasker/spot https://github.com/vega/ts-json-schema-generator
ajv-ts
-
Ajv-ts. Ajv schema builder inspired from Zod
I built json schema builder. Fully compatible with JSON-schema. easy, intuitive, typed and cool.
Check it out: https://github.com/vitalics/ajv-ts
- Ajv-ts – JSON-schema builder inspired from zod
What are some alternatives?
suretype - Typesafe JSON (Schema) validator
hyper-fetch - ⚡ Fetching and realtime data exchange framework.
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.
typia - Super-fast/easy runtime validations and serializations through transformation
JSON-Schema Faker - JSON-Schema + fake data generators
schema-nozzle - json-schema generate from typescript interface and type alias, class, enum
ts-json-schema-generator - Generate JSON schema from your Typescript sources
tutim - The open-source wizard form infrastructure for web applications
spot - Spot is a concise, developer-friendly way to describe your API contract.
resolvers - 📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
sidewinder - Type Safe Micro Services for Node
design_patterns_in_typescript - :triangular_ruler: Design pattern implementations in TypeScript