0.1.3 • Published 9 years ago

validatorbase v0.1.3

Weekly downloads
6
License
Apache 2.0
Repository
github
Last release
9 years ago

validatorbase

validatorbase provides a lightweight validation middleware for express.

The user simply provides a rudimentary schema defining which parameters are expected for each call as well as a map that defines which function shall be used to check a parameter with a given name. This allows to do all the validation without your actual APIs noticing as long as you watch the naming of your parameters. Especially for simpler systems it thus provides a much more lightweight solution than more complex frameworks like express-validator.

It is also possible to hook your custom logging framework to keep track of incoming http requests and occuring validation errors.

get started

Have a look at the test case to understand how to use validatorbase.

notes

Currently still under heavy development.

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago