README
validates
Match something through regexp or custom string, or validate it's true or false
var validates = require('validates');
install
npm install validates --save
API
validates.isIP
validates.isIP('192.168.1.1') // true
validates.isUrl
validates.isUrl('http://ctrip.com/hotel') // true
validates.isEmial
validates.isEmial('liaowei08@gmail.com') // true