suretype
Typesafe JSON (Schema) validator (by grantila)
typeconv
Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType (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
suretype | typeconv | |
---|---|---|
1 | 3 | |
493 | 397 | |
- | - | |
3.3 | 4.1 | |
10 months ago | 11 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.
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.
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
What are some alternatives?
When comparing suretype and typeconv you can also consider the following projects:
class-validator - Decorator-based property validation for classes.
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.
JSON-Schema Faker - JSON-Schema + fake data generators
ts-json-schema-generator - Generate JSON schema from your Typescript sources
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
spot - Spot is a concise, developer-friendly way to describe your API contract.
validax - A clean way to validate JSON schema in Typescript
sidewinder - Type Safe Micro Services for Node
JSONForms - Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.