TypeBox surpasses Joi, Yup and Zod as most downloaded NPM validation library

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

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

    📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support

  • TypeBox is zero dependency and lightweight enough to use in the browser. It's also a little bit faster and provides both JIT and dynamic validation. TypeBox may also provide a bit more sophisticated type composition that maps a little closer to TypeScript (but I haven't checked out SureType recently so not really sure of innovations happening there).

  • typebox

    Json Schema Type Builder with Static Type Resolution for 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 logo
  • react-hook-form-jsonschema

    :rocket: Lightweight project that exposes an API for easily creating customizable forms with built-in validation based on a JSON Schema.

  • For React Hook Form, does this library help? https://github.com/vtex/react-hook-form-jsonschema

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