babel-plugin-spectypes
JSON →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.
Traffic · last 30 days ↓57% vs prev 7d
total hits 22
actors 8 distinct systems
last hit 4d ago Amazonbot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore · 🇬🇧 United Kingdom
Resources
API endpoints
full doc /v1/registry/babel-plugin-spectypes
compatibility /v1/registry/babel-plugin-spectypes/compatibility