express-cool-api
Build a "cool" API by being less restrictive on your JSON validation.
Installation
npm install express-cool-api
Usage
var cool = ; app;
API
// Transform the given json as a cool hash
cool.sanitize(schema);
// Aliases: cool.s(schema), cool.sanitization(schema)
// Validate the given json to respect your standards
cool.sanitize(schema);
// Aliases: cool.s(schema), cool.sanitization(schema)