typeconv
sidewinder
typeconv | sidewinder | |
---|---|---|
3 | 8 | |
397 | 55 | |
- | - | |
4.1 | 5.1 | |
11 months ago | 9 months ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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
sidewinder
- TypeBox: High Performance Runtime Type Checking
- Typescript monorepo with component library help!
- Type Safe Micro Services for Node
- Best HTTP-framework with TypeScript?
- JavaScript Web Service Framework for Microservice Architectures
-
Sidewinder: Type Safe Web Services for Node
trpc is to zod, as sidewinder is to typebox
What are some alternatives?
suretype - Typesafe JSON (Schema) validator
api - Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.
hammer - Build Tool for Browser and Node Applications
JSON-Schema Faker - JSON-Schema + fake data generators
zod - TypeScript-first schema validation with static type inference
ts-json-schema-generator - Generate JSON schema from your Typescript sources
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
spot - Spot is a concise, developer-friendly way to describe your API contract.
fastify-auth - Run multiple auth functions in Fastify
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
node-redlock - A node.js redlock implementation for distributed, highly-available redis locks