The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Ts-simple-type Alternatives
Similar projects and alternatives to ts-simple-type
-
TypeScript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
create-t3-app
The best way to start a full-stack, typesafe Next.js app
-
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.
-
swagger-ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
-
wundergraph
WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition.
-
-
typebox
Json Schema Type Builder with Static Type Resolution for TypeScript
-
trpc
🧙♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
marshal.ts
A new full-featured and high-performance TypeScript framework
-
-
-
openapi-typescript
Generate TypeScript types from OpenAPI 3 specs
-
spartan-schema
Ultra-minimal JSON schemas with Typescript inference
-
-
-
-
-
fern-java
Discontinued Generate Java models, clients, and server interfaces from your API definition.
-
openapi-typescript-codegen
NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
-
stytch-t3-example
An example app demonstrating how to use Stytch within the T3 stack
-
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
ts-simple-type reviews and mentions
-
tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
We use an internal validator library that we infer request types from. It’s similar to Zod (but also predates it by a year).
I’ve also spent some time on a Typescript type to X compiler. My first prototype is open source and targets Thrift, Proto3, Python, and JSON schema: https://github.com/justjake/ts-simple-type/tree/main/src/com...
I’m not happy with the design decision in that codebase to try to “simplify” Typescript types before compiling, and probably won’t continue that implementation, but we have a few internal code generators that consume TS types and output test data builders and model clases we use in production.
- Ezno
-
Ultra-minimal JSON schemas with TypeScript inference
After some frustration with the TypeScript schema library ecosystem, I've decided that I'd prefer to declare my types using TypeScript's excellent type syntax, so I can take advantage of generics, mapped types, etc. Then, I'll take those TypeScript types and compile them to whatever alternative schema format I need.
There are many libraries that claim to convert your Typescript types to other formats, such as ts-json-schema-generator, ts-to-zod, or typeconv/core-types-ts. These libraries work by interpreting the Typescript AST, essentially re-implementing a bare-bones type system from scratch. Most do not support advanced Typescript features like generic application, mapped types, or string literal types. So, what's the point? To avoid those limitations, I use Typescript's first-party ts.TypeChecker API to analyze types, and an existing library called ts-simple-type (which I've forked) to convert from ts.Type to a more usable intermediate format. Then, I recurse over the intermediate format and emit "AST nodes". It's pretty simple, but seems promising.
So far, I have compilers from TypeScript type to Python 3 and Thrift. But I plan to add OpenAPI/JSONSchema, Protobuf (Proto3), Kotlin, Swift, and maybe Zod and Avro. Each target language is around ~300 LoC so they're pretty easy to put together.
Repo: https://github.com/justjake/ts-simple-type
Compiler input and output: https://github.com/justjake/ts-simple-type/blob/jake--compil...
Thrift compiler: https://github.com/justjake/ts-simple-type/blob/jake--compil...
Python compiler: https://github.com/justjake/ts-simple-type/blob/jake--compil...
-
A note from our sponsor - WorkOS
workos.com | 18 Apr 2024
Stats
justjake/ts-simple-type is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of ts-simple-type is TypeScript.
Popular Comparisons
- ts-simple-type VS fern-java
- ts-simple-type VS telefunc
- ts-simple-type VS ts-to-zod
- ts-simple-type VS stytch-t3-example
- ts-simple-type VS vellum-client-python
- ts-simple-type VS vellum-client-generator
- ts-simple-type VS spartan-schema
- ts-simple-type VS ts-websocket-compressor
- ts-simple-type VS marshal.ts
- ts-simple-type VS typebox