JavaScript data validation library.
Install
$ npm install --save cris
Usage
const cris = require('cris')
cris('iPhone').string().max(3).lowercase().required()
/**
{
value: 'iPhone',
error: [
'Expected to be shorter than 3',
'Expected to be lowercased string'
]
}
*/
License
MIT © EGOIST