{"library":"z-schema","type":"library","category":null,"description":"Fast, lightweight JSON Schema validator for Node.js and browsers supporting all major drafts from draft-04 through draft-2020-12. Version 12.3.1, maintained actively with regular releases. Key differentiators: TypeScript-first, ESM/CJS/UMD support, synchronous and asynchronous validation modes, safe (non-throwing) API, schema compilation with $ref resolution. Requires Node.js 22+. Full test coverage, CLI tool included. Distinguishes from Ajv by offering throw/safe modes natively and simpler API.","language":"javascript","status":"active","version":"12.3.1","tags":["javascript","draft-04","draft-06","draft-07","draft-2019-09","draft-2020-12","esm","json","json-schema"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install z-schema","imports":["import ZSchema from 'z-schema'","const { default: ZSchema } = await import('z-schema')","import ZSchema from 'z-schema'; const validator = ZSchema.create({ safe: true })"]},{"cmd":"yarn add z-schema","imports":[]},{"cmd":"pnpm add z-schema","imports":[]}],"homepage":"https://github.com/zaggino/z-schema","github":"https://github.com/zaggino/z-schema","docs":null,"changelog":null,"pypi":null,"npm":"z-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}