> For the complete documentation index, see [llms.txt](https://iamthilina.gitbook.io/xpress-req-validator/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iamthilina.gitbook.io/xpress-req-validator/master.md).

# Introduction

`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](https://github.com/hapijs/joi) (the awsome JSON Schema validator), which is used to define the request validation specs
