{"library":"babel-plugin-spectypes","type":"library","category":null,"description":"Babel plugin (v2.1.11) that compiles spectypes validators at build time, producing fast, eval-free runtime validation for TypeScript/JavaScript. Current stable version is 2.1.11 with bi-monthly releases. Key differentiators: compiles validators into simple if/else statements (no eval or new Function), can outperform ajv in benchmarks, detailed error messages with failure paths, TypeScript type inference, and extensive property-based testing. Requires @babel/core as a peer dependency and spectypes runtime package.","language":"javascript","status":"active","version":"2.1.11","tags":["javascript","babel-plugin","validation","validator","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-spectypes","imports":["import { array } from 'spectypes'","import { number } from 'spectypes'","import { struct } from 'spectypes'"]},{"cmd":"yarn add babel-plugin-spectypes","imports":[]},{"cmd":"pnpm add babel-plugin-spectypes","imports":[]}],"homepage":null,"github":"https://github.com/iyegoroff/spectypes","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-spectypes","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-spectypes/compatibility"}}