celebrate
A joi validation middleware for Express
...The middleware allows you to validate req.params, req.headers, and req.query. celebrate lists joi as a formal dependency. This means that celebrate will always use a predictable, known version of joi during the validation and compilation steps. celebrate is tested and has full compatibility with express 4 and 5. It likely works correctly with express 3, but including it in the test matrix was more trouble than it's worth. This is primarily because express 3 exposes route parameters as an array rather than an object. Returns a function with the error handler signature ((err, req, res, next)). ...