schema-inspector

JSON →
library 2.1.0 ·javascript
verified Jun 7, 2026

Schema-Inspector is a JavaScript library for sanitizing and validating JS objects, supporting both synchronous and asynchronous operations. The current stable version is 2.1.0, released with security fixes for email validation regex in 2.0.0 and 2.0.3. It is designed for client-side and server-side use, offering a simple schema definition format distinct from JSON Schema, with built-in sanitization rules like trimming and case conversion. It is maintained with an active GitHub repository and CI workflows.