ajv-pack
JSON →ajv-pack produces compact standalone validation modules from JSON schemas compiled with Ajv (v4.7.4+). Version 0.3.1 is the latest stable release. It reduces bundle size by excluding Ajv at runtime and avoids dynamic code evaluation (useful for CSP). Compared to alternatives like @exodus/schemasafe or is-my-json-valid, ajv-pack specifically works with Ajv-generated code and is designed for build-time pre-compilation. Key limitations: no support for custom compiled/validated keywords, custom formats, recursive references (except self-ref), or async schemas.
Resources
packageajv-pack ↗