sidewinder
typeconv
sidewinder | typeconv | |
---|---|---|
8 | 3 | |
55 | 397 | |
- | - | |
5.1 | 4.1 | |
9 months ago | 11 months ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | 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.
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
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
What are some alternatives?
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.
suretype - Typesafe JSON (Schema) validator
hammer - Build Tool for Browser and Node Applications
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.
zod - TypeScript-first schema validation with static type inference
JSON-Schema Faker - JSON-Schema + fake data generators
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
ts-json-schema-generator - Generate JSON schema from your Typescript sources
fastify-auth - Run multiple auth functions in Fastify
spot - Spot is a concise, developer-friendly way to describe your API contract.
node-redlock - A node.js redlock implementation for distributed, highly-available redis locks
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]