{ "_from": "validator@5.7.0", "_id": "validator@5.7.0", "_inBundle": false, "_integrity": "sha1-eoelgUa2laxIYHEUHAxJ1n2gXlw=", "_location": "/validator", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "validator@5.7.0", "name": "validator", "escapedName": "validator", "rawSpec": "5.7.0", "saveSpec": null, "fetchSpec": "5.7.0" }, "_requiredBy": [ "/anchor" ], "_resolved": "http://registry.npm.taobao.org/validator/download/validator-5.7.0.tgz", "_shasum": "7a87a58146b695ac486071141c0c49d67da05e5c", "_spec": "validator@5.7.0", "_where": "E:\\dev\\007\\node_module\\node10\\node_modules\\anchor", "author": { "name": "Chris O'Hara", "email": "cohara87@gmail.com" }, "bugs": { "url": "http://github.com/chriso/validator.js/issues" }, "bundleDependencies": false, "deprecated": false, "description": "String validation and sanitization", "devDependencies": { "babel-cli": "^6.9.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-preset-es2015": "^6.9.0", "babel-preset-es2015-rollup": "^1.1.1", "coveralls": "^2.11.9", "eslint": "^2.11.1", "eslint-config-airbnb": "^9.0.1", "eslint-plugin-import": "^1.8.1", "istanbul": "^0.4.3", "mocha": "^2.5.3", "rollup": "^0.29.1", "rollup-plugin-babel": "^2.5.1", "uglify-js": "^2.6.2" }, "engines": { "node": ">= 0.10" }, "files": [ "index.js", "lib", "README.md", "LICENCE", "validator.js", "validator.min.js" ], "homepage": "http://github.com/chriso/validator.js", "keywords": [ "validator", "validation", "validate", "sanitization", "sanitize", "sanitisation", "sanitise", "assert" ], "license": "MIT", "main": "index.js", "name": "validator", "repository": { "type": "git", "url": "git+ssh://git@github.com/chriso/validator.js.git" }, "scripts": { "build": "npm run build:browser && npm run build:node", "build:browser": "babel-node build-browser && npm run minify", "build:node": "babel src -d . --presets es2015 --plugins add-module-exports", "clean": "npm run clean:node && npm run clean:browser", "clean:browser": "rm -rf validator*.js", "clean:node": "rm -rf index.js lib", "coveralls": "istanbul cover _mocha --report lcovonly -x validator.js -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", "lint": "eslint src test", "minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments '/Copyright/'", "pretest": "npm run lint && npm run build", "test": "mocha --reporter spec" }, "version": "5.7.0" }