fuz_schema

good bones 🦴

a performance-focused schema library for JS

repo 0.6.1 npm

npm i -D @fuzdev/fuz_schema

introduction #

fuz_schema takes Valibot's approach, with a tree-shakeable function per schema and pipe for refinement, and pushes it further on bundle size, speed, and memory, with simpler internals. It's pre-1.0; feedback is welcome in the issues and discussions.

Usage
#

npm i @fuzdev/fuz_schema

For now the usage docs are in the README. This site has the benchmarks and the generated api reference.

benchmarks #

The benchmarks compare this library's size, speed, and memory with Valibot, Zod, TypeBox, Valita, and Sury.

api #

Browse the full api docs.