express-validation-session
TypeScript icon, indicating that this package has built-in type declarations

3.0.60 • Public • Published

express-validation

express-validation is an express middleware that validates a request and returns a response with errors; if any of the configured validation rules fail. This fork supports "session" as a validation target for your schemas and based on express-validation v3.0.6.

Currently support Joi v17.x.x

Parameter types

We support validating the following parameter types:

  • headers
  • params (path)
  • query
  • cookies
  • signedCookies
  • body
  • session

Install

Install with npm:

npm i express-validation-session --save

Install with yarn:

yarn add express-validation-session

Example

Please visit the main repository for examples and up-to-date documentation.

https://github.com/AndrewKeig/express-validation

License

This work is licensed under the MIT License (see the LICENSE file).

https://github.com/AndrewKeig/express-validation/blob/master/LICENSE

Package Sidebar

Install

npm i express-validation-session

Weekly Downloads

0

Version

3.0.60

License

MIT

Unpacked Size

11.7 kB

Total Files

13

Last publish

Collaborators

  • anakha