cris
JavaScript data validation library.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cris 
SYNC missed versions from official npm registry.

cris NPM version NPM downloads Build Status Coveralls branch

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

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

2 Versions

  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |