RocksonZeta / koa-validate

validate koa request params and format request params
https://github.com/RocksonZeta/koa-validate
MIT License
284 stars 32 forks source link

Exporting validator module #13

Closed antoinegomez closed 2 years ago

antoinegomez commented 9 years ago

Hello,

While I was extending this module with a custom validator function I wanted to use the validator module.

I know that a simple npm install --save validator and require would do the job (which I did) but could be nice to export it or to make it available in the object with a variable like this.v or something else.