Schema-Inspector is a powerful tool to sanitize and validate JS objects. It's designed to work both client-side and server-side and to be scalable with allowing asynchronous and synchronous calls.

Try it by yourself

Update the data, sanitization and validation tabs to see in real-time the result of the Schema-inspector.