Popular Libraries For Building Type-safe Web Application APIs

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. typebox

    Json Schema Type Builder with Static Type Resolution for TypeScript

    The documentation can be found here.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. zod

    TypeScript-first schema validation with static type inference

    You can check out their documentation here.

  4. class-validator

    Decorator-based property validation for classes.

    You can learn more from the documentation here.

  5. Superstruct

    A simple and composable way to validate data in JavaScript (and TypeScript).

    You can check out Superstruct documentation here.

  6. tempo

    🥁 Don't miss a beat. Real-time, end-to-end typesafe APIs. (by betwixt-labs)

    There are still a few more libraries in development. An example is Tempo by betwixt-labs.

  7. ajv

    The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

    Ajv’s documentation is available here.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Where DRY Applies

    3 projects | news.ycombinator.com | 3 Nov 2023
  • Has anybody used Typia library?

    3 projects | /r/typescript | 27 Jun 2023
  • TypeScript-JSON is 10 ~ 1,000x times faster than ZOD and IO-TS

    4 projects | dev.to | 8 Oct 2022
  • Validator in js

    4 projects | dev.to | 29 Jul 2022
  • Ultra-minimal JSON schemas with TypeScript inference

    11 projects | news.ycombinator.com | 27 Jul 2022

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?