{"library":"tiny-schema-validator","type":"library","category":null,"description":"JSON schema validator with excellent type inference for JavaScript and TypeScript. Current stable version is 5.0.3. It provides a declarative API using an underscore (_) namespace for defining schemas with built-in validators like string, number, boolean, union, record, list, etc. Differentiators include automatic TypeScript type inference via the produce method, detailed error objects that mirror the schema shape, and a lightweight bundle (minzipped size shown in badge). The library is actively maintained, supports Node.js >=10, and is ESM and CJS compatible.","language":"javascript","status":"active","version":"5.0.3","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install tiny-schema-validator","imports":["import { createSchema } from 'tiny-schema-validator'","import { _ as validators } from 'tiny-schema-validator'","import { createSchema, _ } from 'tiny-schema-validator'; export type UserType = ReturnType<typeof User.produce>"]},{"cmd":"yarn add tiny-schema-validator","imports":[]},{"cmd":"pnpm add tiny-schema-validator","imports":[]}],"homepage":"https://github.com/5alidz/tiny-schema-validator#readme","github":"https://github.com/5alidz/tiny-schema-validator","docs":null,"changelog":null,"pypi":null,"npm":"tiny-schema-validator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}