{
  "name": "getport",
  "version": "0.1.0",
  "description": "Find an open port to listen on.",
  "main": "index.js",
  "scripts": {
    "test": "node test.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/mikeal/getport"
  },
  "keywords": [
    "port",
    "open"
  ],
  "author": {
    "name": "Mikeal Rogers",
    "email": "mikeal.rogers@gmail.com"
  },
  "license": "BSD",
  "bugs": {
    "url": "https://github.com/mikeal/getport/issues"
  },
  "readme": "### getport\n\n`npm install getport`\n\nFind an open port to listen on.\n\n#### `getport(function (e, port) {})``\n\n```javascript\nvar getport = require('getport')\ngetport(function (e, p) {\n  if (e) throw e\n  server.listen(p)\n})\n```\n\n*Note: getport uses a TCP client to check the ports and see if anyone has bound to them. If you do not have permission to bind to a port you may still get an error.*\n\n#### `getport(start, function (e, port) {})`\n\n```javascript\ngetport(5000, function (e, p) {\n  if (e) throw e\n  assert.equal(5000, p)\n})\n```\n\n#### `getport(start, end, function (e, port) {})`\n\n```javascript\ngetport(6000, 5999, function (e, p) {\n  assert.ok(e)\n})\n```",
  "readmeFilename": "readme.md",
  "_id": "getport@0.1.0",
  "dist": {
    "shasum": "abddf3d5d1e77dd967ccfa2b036a0a1fb26fd7f7",
    "tarball": "https://registry.npmjs.org/getport/-/getport-0.1.0.tgz"
  },
  "_from": "getport@0.1.x",
  "_npmVersion": "1.3.2",
  "_npmUser": {
    "name": "mikeal",
    "email": "mikeal.rogers@gmail.com"
  },
  "maintainers": [
    {
      "name": "mikeal",
      "email": "mikeal.rogers@gmail.com"
    }
  ],
  "directories": {},
  "_shasum": "abddf3d5d1e77dd967ccfa2b036a0a1fb26fd7f7",
  "_resolved": "https://registry.npmjs.org/getport/-/getport-0.1.0.tgz",
  "homepage": "https://github.com/mikeal/getport"
}
