{"library":"valibot","type":"library","category":null,"description":"Valibot is a modular, type-safe schema validation library for JavaScript and TypeScript, designed as a lightweight alternative to Zod. Version 1.4.1 ships with full TypeScript support, zero dependencies, and a tree-shakable modular architecture that starts at under 700 bytes. It provides both exception-based parsing (parse) and safe parsing (safeParse, is), along with 100% test coverage. The library distinguishes itself by enabling up to 95% bundle size reduction compared to Zod through tree-shaking. It requires TypeScript >=5. The API is based on many small, independent functions rather than a monolithic class, making it easily extensible. Stable release cadence with active development on GitHub.","language":"javascript","status":"active","version":"1.4.1","tags":["javascript","modular","typescript","schema","validation","parsing","bundle-size","type-safe","runtime"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install valibot","imports":["import * as v from 'valibot'","import { parse } from 'valibot'","import { object, string, pipe, email, minLength } from 'valibot'","import { InferOutput } from 'valibot'","import { safeParse } from 'valibot'"]},{"cmd":"yarn add valibot","imports":[]},{"cmd":"pnpm add valibot","imports":[]}],"homepage":"https://valibot.dev","github":"https://github.com/open-circle/valibot","docs":null,"changelog":null,"pypi":null,"npm":"valibot","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}