New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

express-input-validator

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-input-validator

A request input validator for expressjs

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

express-input-validator

A request input validator for expressjs

npm install express-input-validator

Usage

var validator = require('express-input-validator')({
  definitions: {
    "GET /": {
      "email": "isEmail",
      "isUppercase": "isUppercase",
      "notUppercase": "isLowercase",
      "equalsTest": {
        test: "equals",
        options: ["test"]
      }
    }
  }
});

app.use(validator);

Results will be in req.validation

Validation methods are available at NodeJS Validator

Keywords

input

FAQs

Package last updated on 02 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts