{
  "manifest": {
    "name": "requires-port",
    "version": "1.0.0",
    "description": "Check if a protocol requires a certain port number to be added to an URL.",
    "main": "index.js",
    "scripts": {
      "100%": "istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
      "test-travis": "istanbul cover _mocha --report lcovonly -- test.js",
      "coverage": "istanbul cover _mocha -- test.js",
      "watch": "mocha --watch test.js",
      "test": "mocha test.js"
    },
    "repository": {
      "type": "git",
      "url": "https://github.com/unshiftio/requires-port"
    },
    "keywords": [
      "port",
      "require",
      "http",
      "https",
      "ws",
      "wss",
      "gopher",
      "file",
      "ftp",
      "requires",
      "requried",
      "portnumber",
      "url",
      "parsing",
      "validation",
      "cows"
    ],
    "author": {
      "name": "Arnout Kazemier"
    },
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/unshiftio/requires-port/issues"
    },
    "homepage": "https://github.com/unshiftio/requires-port",
    "devDependencies": {
      "assume": "1.3.x",
      "istanbul": "0.4.x",
      "mocha": "2.3.x",
      "pre-commit": "1.1.x"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-requires-port-1.0.0-925d2601d39ac485e091cf0da5c6e694dc3dcaff-integrity/node_modules/requires-port/package.json",
    "readmeFilename": "README.md",
    "readme": "# requires-port\n\n[![Made by unshift](https://img.shields.io/badge/made%20by-unshift-00ffcc.svg?style=flat-square)](http://unshift.io)[![Version npm](http://img.shields.io/npm/v/requires-port.svg?style=flat-square)](http://browsenpm.org/package/requires-port)[![Build Status](http://img.shields.io/travis/unshiftio/requires-port/master.svg?style=flat-square)](https://travis-ci.org/unshiftio/requires-port)[![Dependencies](https://img.shields.io/david/unshiftio/requires-port.svg?style=flat-square)](https://david-dm.org/unshiftio/requires-port)[![Coverage Status](http://img.shields.io/coveralls/unshiftio/requires-port/master.svg?style=flat-square)](https://coveralls.io/r/unshiftio/requires-port?branch=master)[![IRC channel](http://img.shields.io/badge/IRC-irc.freenode.net%23unshift-00a8ff.svg?style=flat-square)](http://webchat.freenode.net/?channels=unshift)\n\nThe module name says it all, check if a protocol requires a given port.\n\n## Installation\n\nThis module is intended to be used with browserify or Node.js and is distributed\nin the public npm registry. To install it simply run the following command from\nyour CLI:\n\n```j\nnpm install --save requires-port\n```\n\n## Usage\n\nThe module exports it self as function and requires 2 arguments:\n\n1. The port number, can be a string or number.\n2. Protocol, can be `http`, `http:` or even `https://yomoma.com`. We just split\n   it at `:` and use the first result. We currently accept the following\n   protocols:\n   - `http`\n   - `https`\n   - `ws`\n   - `wss`\n   - `ftp`\n   - `gopher`\n   - `file`\n\nIt returns a boolean that indicates if protocol requires this port to be added\nto your URL.\n\n```js\n'use strict';\n\nvar required = require('requires-port');\n\nconsole.log(required('8080', 'http')) // true\nconsole.log(required('80', 'http'))   // false\n```\n\n# License\n\nMIT\n",
    "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2015 Unshift.io, Arnout Kazemier,  the Contributors.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz",
    "hash": "925d2601d39ac485e091cf0da5c6e694dc3dcaff",
    "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
    "registry": "npm",
    "packageName": "requires-port",
    "cacheIntegrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
  },
  "registry": "npm",
  "hash": "925d2601d39ac485e091cf0da5c6e694dc3dcaff"
}