TypeScript runtime type-checking - designed for simple use, through to enforcing API payload schema

This page summarizes the projects mentioned and recommended in the original post on /r/typescript

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
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.
www.influxdata.com
featured
  • you-are-not

    Discontinued A minimal, blazing fast, TypeScript runtime type-checker. It is intuitive, API-centric, and customisable. A must-have for API payload sanitiser, type-checking, validation, error handing and messaging helper -- all in a small and neat pack. [Moved to: https://github.com/calvintwr/not]

  • io-ts

    Runtime type system for IO decoding/encoding

  • I like io-ts though it has bad documentation. More random examples are ts-runtime and ajv. JS examples are joi, v8n, validate.js.

  • 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
  • ts-runtime

    Runtime Type Checks for TypeScript

  • I like io-ts though it has bad documentation. More random examples are ts-runtime and ajv. JS examples are joi, v8n, validate.js.

  • ajv

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

  • I like io-ts though it has bad documentation. More random examples are ts-runtime and ajv. JS examples are joi, v8n, validate.js.

  • typescript-is

  • Then there's also typescript-is, which is pretty neat because it converts actual compile-time type definitions to runtime type checks, so it doesn't require changing the type definitions.

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

    InfluxDB logo
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

  • Popular Libraries For Building Type-safe Web Application APIs

    6 projects | dev.to | 7 Apr 2024
  • Where DRY Applies

    3 projects | news.ycombinator.com | 3 Nov 2023
  • TypeScript-JSON is 10 ~ 1,000x times faster than ZOD and IO-TS

    4 projects | dev.to | 8 Oct 2022
  • Best way/tool to validate request body nextjs?

    6 projects | /r/node | 21 Jan 2022
  • Typing for JSON Payloads

    7 projects | /r/typescript | 17 Jan 2022