TypeScript DSL

Open-source TypeScript projects categorized as DSL

Top 9 TypeScript DSL Projects

  • umbrella

    ⛱ Broadly scoped ecosystem & mono-repository of 192 TypeScript projects (and 157 examples) for general purpose, functional, data driven development

  • spot

    Spot is a concise, developer-friendly way to describe your API contract. (by airtasker)

  • 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 logo
  • text-to-diagram-site

    Compare syntax, layouts, outputs between languages for generating diagrams with text.

  • Project mention: Nomnoml | news.ycombinator.com | 2023-10-02

    One of those "text to diagram" contenders did a comparison website (open source) a while back: https://text-to-diagram.com/ (nomnoml isn't in there).

  • kfp-tekton

    Kubeflow Pipelines on Tekton

  • graphql-ts-client

    Typescript DSL for GraphQL.

  • angu

    A small DSL/interpreter that can be used to evaluate simple expressions

  • typed-graphql-builder

    A fully type-safe graphql query builder, inspired by tql

  • Project mention: tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy | news.ycombinator.com | 2023-08-12

    I'm honestly pretty happy with TypeGraphQL. TypeGraphQL works code-first and lets you integrate request-scoped DI for resolvers, which makes writing more complex resolves significantly more pleasant.

    Admittedly for the front end I couldn't find a satisfactory tool so I built typed-graphql-builder (https://typed-graphql-builder.spion.dev/). You do have to run it if your backend schema changes, but not when your queries change as the queries are written in typescript and inferred on the fly. (I should probably write a watch mode for the cli, that should largely take care of the rest of the toil when quickly prototyping)

  • 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.

    WorkOS logo
  • truss

    A TypeScript DSL for writing utility CSS in React/JSX (by homebound-team)

  • Project mention: StyleX – Meta's Styling Library | news.ycombinator.com | 2023-12-05

    Nice! We copied StyleX's "type-safe extensions" in Truss [1] so things like `` are allowed (setting margin is fine) while disallowing `` (anything "not margin") that would mess up the components internal impl details with a compile error.

    That said, we don't actually use the feature that much, vs. higher-level logical props like ``.

    I know we're supposed to use build-time CSS-in-JS these days, but afaiu they don't support the rare-but-handy "just spread together ~4-5 different object literals from ~random different conditionals + props", i.e. intermixing styles some inside the component + outside the component, which emotion handles really well.

    Basically this [2]. StyleX says it does "cross-file styles"...but can it support that? I kinda assume not, but I'm not sure.

    [1]: https://github.com/homebound-team/truss#xstyles--xss-extensi...

    [2]: https://github.com/homebound-team/beam/blob/main/src/compone...

  • restscript

    DSL to simplify HTTP request pipelines

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript DSL related posts

Index

What are some of the best open-source DSL projects in TypeScript? This list will help you:

Project Stars
1 umbrella 3,213
2 spot 536
3 text-to-diagram-site 373
4 kfp-tekton 161
5 graphql-ts-client 141
6 angu 126
7 typed-graphql-builder 45
8 truss 31
9 restscript 4

Sponsored
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.
www.influxdata.com