Introduction

Hassle free middleware to validate all type of requests in a single place while respecting the principle of separation of concerns

xpress-req-validator allows developers to handle all request validation tasks in a single place as a middleware while respecting the principle of separation of concerns. It can be used at app level or router level. xpress-req-validator relies on Joi (the awsome JSON Schema validator), which is used to define the request validation specs

Last updated

Was this helpful?