404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.191.200.36: ~ $
{
  "_from": "is-cidr@3.0.0",
  "_id": "is-cidr@3.0.0",
  "_inBundle": false,
  "_integrity": "sha512-8Xnnbjsb0x462VoYiGlhEi+drY8SFwrHiSYuzc/CEwco55vkehTaxAyIjEdpi3EMvLPPJAJi9FlzP+h+03gp0Q==",
  "_location": "/npm/is-cidr",
  "_phantomChildren": {},
  "_requested": {
    "escapedName": "is-cidr",
    "fetchSpec": "3.0.0",
    "name": "is-cidr",
    "raw": "is-cidr@3.0.0",
    "rawSpec": "3.0.0",
    "registry": true,
    "saveSpec": null,
    "type": "version"
  },
  "_requiredBy": [
    "#USER",
    "/npm"
  ],
  "_resolved": "https://registry.npmjs.org/is-cidr/-/is-cidr-3.0.0.tgz",
  "_shasum": "1acf35c9e881063cd5f696d48959b30fed3eed56",
  "_shrinkwrap": null,
  "_spec": "is-cidr@3.0.0",
  "_where": "/Users/aeschright/code/cli",
  "author": {
    "email": "me@silverwind.io",
    "name": "silverwind"
  },
  "bugs": {
    "url": "https://github.com/silverwind/is-cidr/issues"
  },
  "bundleDependencies": false,
  "contributors": [
    {
      "name": "Felipe Apostol",
      "email": "flipjs.io@gmail.com",
      "url": "http://flipjs.io/"
    }
  ],
  "dependencies": {
    "cidr-regex": "^2.0.10"
  },
  "deprecated": false,
  "description": "Check if a string is an IP address in CIDR notation",
  "devDependencies": {
    "eslint": "^5.7.0",
    "eslint-config-silverwind": "^2.0.9",
    "updates": "^4.5.2",
    "ver": "^3.0.0"
  },
  "engines": {
    "node": ">=6"
  },
  "files": [
    "index.js"
  ],
  "homepage": "https://github.com/silverwind/is-cidr#readme",
  "keywords": [
    "cidr",
    "cidr notation",
    "ip",
    "ip address",
    "network",
    "notation",
    "prefix",
    "prefixes",
    "regex"
  ],
  "license": "BSD-2-Clause",
  "name": "is-cidr",
  "optionalDependencies": {},
  "readme": "# is-cidr\n\n[![](https://img.shields.io/npm/v/is-cidr.svg?style=flat)](https://www.npmjs.org/package/is-cidr) [![](https://img.shields.io/npm/dm/is-cidr.svg)](https://www.npmjs.org/package/is-cidr) [![](https://api.travis-ci.org/silverwind/is-cidr.svg?style=flat)](https://travis-ci.org/silverwind/is-cidr)\n\n> Check if a string is an IP address in CIDR notation\n\n## Install\n\n```\nnpm i is-cidr\n```\n\n\n## Usage\n\n```js\nconst isCidr = require('is-cidr');\n\nisCidr('192.168.0.1/24'); //=> 4\nisCidr('1:2:3:4:5:6:7:8/64'); //=> 6\nisCidr('10.0.0.0'); //=> 0\nisCidr.v6('10.0.0.0/24'); //=> false\n```\n\n\n## API\n\n### isCidr(input)\n\nCheck if `input` is a IPv4 or IPv6 CIDR address. Returns either `4`, `6` (indicating the IP version) or `0` if the string is not a CIDR.\n\n### isCidr.v4(input)\n\nCheck if `input` is a IPv4 CIDR address. Returns a boolean.\n\n### isCidr.v6(input)\n\nCheck if `input` is a IPv6 CIDR address. Returns a boolean.\n\n\n## Related\n\n- [cidr-regex](https://github.com/silverwind/cidr-regex) - Regular expression for matching IP addresses in CIDR notation\n- [is-ip](https://github.com/sindresorhus/is-ip) - Check if a string is an IP address\n- [ip-regex](https://github.com/sindresorhus/ip-regex) - Regular expression for matching IP addresses\n\n## License\n\n© [silverwind](https://github.com/silverwind), distributed under BSD licence\n\nBased on previous work by [Felipe Apostol](https://github.com/flipjs)\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/silverwind/is-cidr.git"
  },
  "scripts": {
    "test": "make test"
  },
  "version": "3.0.0"
}

Filemanager

Name Type Size Permission Actions
LICENSE File 1.26 KB 0644
README.md File 1.37 KB 0644
index.js File 325 B 0644
package.json File 3.31 KB 0644