typeconv
Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType (by grantila)
suretype
Typesafe JSON (Schema) validator (by grantila)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
typeconv | suretype | |
---|---|---|
3 | 1 | |
397 | 492 | |
- | - | |
4.1 | 3.3 | |
11 months ago | 10 months ago | |
TypeScript | TypeScript | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of typeconv.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-04.
-
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
suretype
Posts with mentions or reviews of suretype.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-05.
-
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.
What are some alternatives?
When comparing typeconv and suretype you can also consider the following projects:
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.
class-validator - Decorator-based property validation for classes.
JSON-Schema Faker - JSON-Schema + fake data generators
ts-json-schema-generator - Generate JSON schema from your Typescript sources
spot - Spot is a concise, developer-friendly way to describe your API contract.
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
sidewinder - Type Safe Micro Services for Node
validax - A clean way to validate JSON schema in Typescript
JSONForms - Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.