{"library":"check-compiler","type":"library","category":null,"description":"A TypeScript-first schema rule compiler and validation library that compiles declarative rule objects into efficient validation functions. Current stable version is 1.4.0 (released 2023). It has zero dependencies, supports both Node.js (>=16) and browsers, and is very small (minified+gzipped). Unlike runtime validation libraries like zod or yup, check-compiler provides a compiled check function for each schema, making repeated validation fast. It uses a type-driven rule definition with custom messages and supports nested objects, nullable values, and pattern validation. Ships TypeScript types.","language":"javascript","status":"active","version":"1.4.0","tags":["javascript","check","compiler","rules","schema","validation","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install check-compiler","imports":["import { compile } from 'check-compiler'","import { Rule } from 'check-compiler'","import { Check } from 'check-compiler'","import { Violation } from 'check-compiler'"]},{"cmd":"yarn add check-compiler","imports":[]},{"cmd":"pnpm add check-compiler","imports":[]}],"homepage":"https://github.com/akornatskyy/check-compiler-js","github":"https://github.com/akornatskyy/check-compiler-js","docs":null,"changelog":null,"pypi":null,"npm":"check-compiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}