Socket
Socket
Sign inDemoInstall

validator

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validator - npm Package Compare versions

Comparing version 0.2.9 to 0.3.0

4

package.json
{ "name" : "validator",
"description" : "Data validation, filtering and sanitization for node.js",
"version" : "0.2.9",
"version" : "0.3.0",
"homepage" : "http://github.com/chriso/node-validator",

@@ -11,3 +11,3 @@ "keywords" : ["validator", "validation", "assert", "params", "sanitization", "xss", "entities", "sanitize", "sanitisation", "input"],

{ "mail" : "",
"web" : "http://github.com/chriso/node-validator/issues"
"url" : "http://github.com/chriso/node-validator/issues"
},

@@ -14,0 +14,0 @@ "repository": {

@@ -36,2 +36,4 @@ **node-validator is a library of string validation, filtering and sanitization methods.**

If you are using the [express.js framework](https://github.com/visionmedia/express) you can use the [express-validator middleware](https://github.com/ctavan/express-validator) to seamlessly integrate node-validator.
Example `http://localhost:8080/?zip=12345&foo=1&textarea=large_string`

@@ -91,2 +93,4 @@

min(val)
isArray()
isCreditCard() //Will work against Visa, MasterCard, American Express, Discover, Diners Club, and JCB card numbering formats
```

@@ -93,0 +97,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc