LogoLogo

Schema Benchmarks

    • home
      Home

    • download_2
      Download

    • timer
      Initialization
    • check_circle
      Validation
    • output_circle
      Parsing
    • swap_horiz
      Codec
    • schema
      Standard Schema
    • format_quote
      String

    • error
      Stack
    • assignment_turned_in
      TypeScript

  • JSON Schema

    • data_object
      Schema to JSON
    • code
      JSON to Schema
    • verified
      Compliance

    • deployed_code
      Libraries

    • article
      Blog
Expand sidebarExpand sidebar
LibrariesLibraries
github
GitHubGitHub
DiscordDiscord
PreferencesPreferences
Created by eskimojo for Open Circle

Preferences

Style
Theme
NPM browser
Code ligatures

Individual packages benchmarked by this site.

Sometimes one package will be separated into more than one set of benchmarks, for example if it has multiple ways of using it (e.g. zod and zod/mini), or there are multiple versions of note (such as effect and its beta).

  • 4.1.1

    @cfworker/json-schema

    download/wk

    A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, 2019-09, and 2020-12.

    github
    RepositoryRepository
  • 0.7.7

    @paseri/compiler

    download/wk

    Ahead-of-time compiler for Paseri schemas.

    github
    RepositoryRepository
  • 1.9.7

    @paseri/paseri

    download/wk

    A TypeScript parsing and validation library for structured data.

    github
    RepositoryRepository
  • 0.1.29

    @railway-ts/pipelines

    download/wk

    Railway-oriented pipelines for TypeScript: a lightweight fp-style Result/Option and schema layer for handling errors and validating boundaries.

    github
    RepositoryRepository
  • 1.0.0

    @remix-run/data-schema

    download/wk

    Tiny, standards-aligned schema validation

    github
    RepositoryRepository
  • 5.0.0

    @sapphire/shapeshift

    download/wk

    Blazing fast input validation and transformation ⚡

    github
    RepositoryRepository
  • 8.20.0

    ajv

    download/wk

    Another JSON Schema Validator

    github
    RepositoryRepository
  • 2.2.8

    arktype

    download/wk

    TypeScript's 1:1 validator, optimized from editor to runtime

    github
    RepositoryRepository
  • 1.51.0

    ata-validator

    download/wk

    JSON Schema validator that compiles to plain JavaScript, still runs where code generation is blocked, and can be compiled away at build time. Passes the full official test suite.

    github
    RepositoryRepository
  • 2.12.2

    decoders

    download/wk

    Elegant and battle-tested validation library for type-safe input data for TypeScript

    github
    RepositoryRepository
  • 4.0.2

    effect

    download/wk

    The missing standard library for TypeScript, for writing production-grade software.

    github
    RepositoryRepository
  • 2.2.22

    io-ts

    download/wk

    TypeScript runtime type system for IO decoding/encoding

    github
    RepositoryRepository
  • 18.2.9

    joi

    download/wk

    Object schema validation

    github
    RepositoryRepository
  • 1.5.0

    jsonschema

    download/wk

    A fast and easy to use JSON Schema validator

    github
    RepositoryRepository
  • 7.0.5

    runtypes

    download/wk

    Runtime validation for static types

    github
    RepositoryRepository
  • 2.0.2

    superstruct

    download/wk

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

    github
    RepositoryRepository
  • 11.0.0

    sury

    download/wk

    🧬 Schema for everything - faster than hand-written code

    github
    RepositoryRepository
  • 1.3.36

    typebox

    download/wk

    Json Schema Type Builder with Static Type Resolution for TypeScript

    github
    RepositoryRepository
  • 15.1.0

    typia

    download/wk

    Superfast runtime validators with only one line

    github
    RepositoryRepository
  • 1.5.0

    valibot

    download/wk

    The modular and type safe schema library for validating structural data

    github
    RepositoryRepository
  • 1.7.1

    yup

    download/wk

    Dead simple Object schema validation

    warning
    e18ee18e
    This library has been marked as having a preferred replacement by the e18e community effort.

    This could be for a few reasons:
    • It is no longer maintained
    • It has more performant or modern alternatives
    • It has known security vulnerabilities
    • It lacks support for more modern JavaScript features (e.g. ES Modules, TypeScript)

    For specific guidance, open the link.
    github
    RepositoryRepository
  • 12.5.0

    z-schema

    download/wk

    Fast, lightweight JSON Schema validator for Node.js and browsers — full support for draft-04, draft-06, draft-07, draft-2019-09, and draft-2020-12 (latest)

    github
    RepositoryRepository
  • 4.6.5

    zod

    download/wk

    TypeScript-first schema declaration and validation library with static type inference

    github
    RepositoryRepository
  • 2.0.7

    zod-compiler

    download/wk

    Compile Zod schemas into zero-overhead validation functions

    github
    RepositoryRepository
9.79M
94
2.08M
394.29M
23.03K
1.03K
1.04K
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
n/a
1.58M