2.2.1 • Published 8 years ago

s-validater v2.2.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

s-validater

Build Status

a validate lib for nodejs

feature

  • type checking: boolean, string, date, number, array, or plain object
  • validation full result: error, errorFilds, effective data collection
  • custom validation function
  • string length(min, max), number(min, max), RegExp check
  • post value filter
  • async validate function support

install

npm install s-validater --save

how to use

doc

read more example from test/test.js

test

$ git clone https://github.com/zxdong262/s-validater.git
$ cd s-validater
$ npm install
$ npm install mocha -g
$ mocha
2.2.1

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.2.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago