TypeBox – Advancing Runtime Type Checking for JavaScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • typebox

    Json Schema Type Builder with Static Type Resolution for TypeScript

  • - Is currently (afaik) the fastest JIT validator for JavaScript

    TypeBox is zero dependency and sits around 5kb minified. The library is heavily tested for JSON schema compliance through Ajv and can be embedded in most JavaScript applications that standardize on the JSON schema specification. It gets around 20 million monthly downloads via NPM (as it's taken as a dependency on some very popular packages), but still seems relatively unknown to the TypeScript ecosystem at large.

    Just wanted to share and shine a bit more of a light on this library.

    Here's a few links to some of it's benchmarks

    https://github.com/sinclairzx81/typebox#benchmark

    https://moltar.github.io/typescript-runtime-type-benchmarks/

  • typescript-runtime-type-benchmarks

    📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support

  • - Is currently (afaik) the fastest JIT validator for JavaScript

    TypeBox is zero dependency and sits around 5kb minified. The library is heavily tested for JSON schema compliance through Ajv and can be embedded in most JavaScript applications that standardize on the JSON schema specification. It gets around 20 million monthly downloads via NPM (as it's taken as a dependency on some very popular packages), but still seems relatively unknown to the TypeScript ecosystem at large.

    Just wanted to share and shine a bit more of a light on this library.

    Here's a few links to some of it's benchmarks

    https://github.com/sinclairzx81/typebox#benchmark

    https://moltar.github.io/typescript-runtime-type-benchmarks/

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