{"_id":"portscanner-plus","_rev":"324492","name":"portscanner-plus","description":"Get multiple available ports with optional names ","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"time":{"modified":"2021-06-07T02:46:17.000Z","created":"2014-02-17T08:49:07.618Z","0.0.3":"2014-02-17T17:50:35.660Z","0.0.2":"2014-02-17T17:44:36.413Z","0.2.1":"2015-02-17T14:41:26.477Z","0.2.0":"2014-12-14T00:04:41.996Z","0.1.0":"2014-03-01T21:41:20.020Z","0.0.1":"2014-02-17T08:49:07.618Z"},"users":{},"author":{"name":"Shane Osbourne","email":"shane.osbourne8@gmail.com"},"repository":{"type":"git","url":"https://github.com/shakyshane/portscanner-plus"},"versions":{"0.0.3":{"name":"portscanner-plus","description":"Get multiple available ports with optional names ","version":"0.0.3","homepage":"https://github.com/shakyshane/portscanner-plus","author":{"name":"Shane Osbourne","email":"shane.osbourne8@gmail.com"},"repository":{"type":"git","url":"git://github.com/shakyshane/portscanner-plus.git"},"bugs":{"url":"https://github.com/shakyshane/portscanner-plus/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shakyshane/portscanner-plus/blob/master/LICENSE-MIT"}],"main":"lib/index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"gulp"},"dependencies":{"lodash":"~2.2.1","q":"~1.0.0"},"devDependencies":{"gulp":"~3.5.2","gulp-mocha":"~0.4.1","gulp-jshint":"~1.4.0","chai":"~1.9.0","sinon":"~1.8.2","mocha":"~1.17.1","mocha-as-promised":"~2.0.0","portscanner":"~0.2.2"},"keywords":[],"_id":"portscanner-plus@0.0.3","dist":{"shasum":"ca078fd8ff76fa0183a04da0271fe047ef218f6e","size":4104,"noattachment":false,"key":"/portscanner-plus/-/portscanner-plus-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/portscanner-plus/download/portscanner-plus-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"directories":{},"publish_time":1392659435660,"_cnpm_publish_time":1392659435660,"_hasShrinkwrap":false},"0.0.2":{"name":"portscanner-plus","description":"Get multiple available ports with optional names ","version":"0.0.2","homepage":"https://github.com/shakyshane/portscanner-plus","author":{"name":"Shane Osbourne","email":"shane.osbourne8@gmail.com"},"repository":{"type":"git","url":"git://github.com/shakyshane/portscanner-plus.git"},"bugs":{"url":"https://github.com/shakyshane/portscanner-plus/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shakyshane/portscanner-plus/blob/master/LICENSE-MIT"}],"main":"lib/index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"gulp"},"dependencies":{"lodash":"~2.2.1"},"devDependencies":{"gulp":"~3.5.2","gulp-mocha":"~0.4.1","gulp-jshint":"~1.4.0","chai":"~1.9.0","sinon":"~1.8.2","q":"~1.0.0","mocha":"~1.17.1","mocha-as-promised":"~2.0.0","portscanner":"~0.2.2"},"keywords":[],"_id":"portscanner-plus@0.0.2","dist":{"shasum":"53de6a9430adb1f68c399481a6ffc029d1e17517","size":4100,"noattachment":false,"key":"/portscanner-plus/-/portscanner-plus-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/portscanner-plus/download/portscanner-plus-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"directories":{},"publish_time":1392659076413,"_cnpm_publish_time":1392659076413,"_hasShrinkwrap":false},"0.2.1":{"name":"portscanner-plus","description":"Get multiple available ports with optional names ","version":"0.2.1","author":{"name":"Shane Osbourne","email":"shane.osbourne8@gmail.com"},"repository":{"type":"git","url":"https://github.com/shakyshane/portscanner-plus"},"licenses":[{"type":"MIT","url":"https://github.com/shakyshane/portscanner-plus/blob/master/LICENSE-MIT"}],"main":"lib","files":["lib"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"gulp"},"dependencies":{"q":"^1.1.2","portscanner":"^1.0.0"},"devDependencies":{"gulp":"^3.8.11","gulp-mocha":"^2.0.0","gulp-jshint":"^1.9.2","chai":"^2.0.0","sinon":"^1.12.2"},"keywords":[],"gitHead":"bad0491d12a8a809a6985de3d95ad6591a1a750e","bugs":{"url":"https://github.com/shakyshane/portscanner-plus/issues"},"homepage":"https://github.com/shakyshane/portscanner-plus","_id":"portscanner-plus@0.2.1","_shasum":"2f63751b50bdb16756f6606d167870021a147e53","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.26","_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"dist":{"shasum":"2f63751b50bdb16756f6606d167870021a147e53","size":1746,"noattachment":false,"key":"/portscanner-plus/-/portscanner-plus-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/portscanner-plus/download/portscanner-plus-0.2.1.tgz"},"directories":{},"publish_time":1424184086477,"_cnpm_publish_time":1424184086477,"_hasShrinkwrap":false},"0.2.0":{"name":"portscanner-plus","description":"Get multiple available ports with optional names ","version":"0.2.0","homepage":"https://github.com/shakyshane/portscanner-plus","author":{"name":"Shane Osbourne","email":"shane.osbourne8@gmail.com"},"repository":{"type":"git","url":"git://github.com/shakyshane/portscanner-plus.git"},"bugs":{"url":"https://github.com/shakyshane/portscanner-plus/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shakyshane/portscanner-plus/blob/master/LICENSE-MIT"}],"main":"lib/index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"gulp"},"dependencies":{"q":"~1.0.0","portscanner":"~0.2.2"},"devDependencies":{"gulp":"~3.5.2","gulp-mocha":"~0.4.1","gulp-jshint":"~1.4.0","chai":"~1.9.0","sinon":"~1.8.2","mocha":"~1.17.1","mocha-as-promised":"~2.0.0"},"keywords":[],"gitHead":"358a28fdc05376e62cf8983678ca7a977870da5b","_id":"portscanner-plus@0.2.0","_shasum":"2a6a90d43c64b6a11d196a509bd6bac7a4549180","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"dist":{"shasum":"2a6a90d43c64b6a11d196a509bd6bac7a4549180","size":4053,"noattachment":false,"key":"/portscanner-plus/-/portscanner-plus-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/portscanner-plus/download/portscanner-plus-0.2.0.tgz"},"directories":{},"publish_time":1418515481996,"_cnpm_publish_time":1418515481996,"_hasShrinkwrap":false},"0.1.0":{"name":"portscanner-plus","description":"Get multiple available ports with optional names ","version":"0.1.0","homepage":"https://github.com/shakyshane/portscanner-plus","author":{"name":"Shane Osbourne","email":"shane.osbourne8@gmail.com"},"repository":{"type":"git","url":"git://github.com/shakyshane/portscanner-plus.git"},"bugs":{"url":"https://github.com/shakyshane/portscanner-plus/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shakyshane/portscanner-plus/blob/master/LICENSE-MIT"}],"main":"lib/index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"gulp"},"dependencies":{"q":"~1.0.0","portscanner":"~0.2.2"},"devDependencies":{"gulp":"~3.5.2","gulp-mocha":"~0.4.1","gulp-jshint":"~1.4.0","chai":"~1.9.0","sinon":"~1.8.2","mocha":"~1.17.1","mocha-as-promised":"~2.0.0"},"keywords":[],"_id":"portscanner-plus@0.1.0","dist":{"shasum":"70302b49821ccbc31580ad775f3276026c77bdb0","size":4093,"noattachment":false,"key":"/portscanner-plus/-/portscanner-plus-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/portscanner-plus/download/portscanner-plus-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"directories":{},"publish_time":1393710080020,"_cnpm_publish_time":1393710080020,"_hasShrinkwrap":false},"0.0.1":{"name":"portscanner-plus","description":"Get multiple available ports with optional names ","version":"0.0.1","homepage":"https://github.com/shakyshane/portscanner-plus","author":{"name":"Shane Osbourne","email":"shane.osbourne8@gmail.com"},"repository":{"type":"git","url":"git://github.com/shakyshane/portscanner-plus.git"},"bugs":{"url":"https://github.com/shakyshane/portscanner-plus/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shakyshane/portscanner-plus/blob/master/LICENSE-MIT"}],"main":"lib/index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"gulp"},"dependencies":{"lodash":"~2.2.1"},"devDependencies":{"gulp":"~3.5.2","gulp-mocha":"~0.4.1","gulp-jshint":"~1.4.0","chai":"~1.9.0","sinon":"~1.8.2","q":"~1.0.0","mocha":"~1.17.1","mocha-as-promised":"~2.0.0","portscanner":"~0.2.2"},"keywords":[],"_id":"portscanner-plus@0.0.1","dist":{"shasum":"43d96d958dd586cf8a3bcedf3f486993e1ceca85","size":3990,"noattachment":false,"key":"/portscanner-plus/-/portscanner-plus-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/portscanner-plus/download/portscanner-plus-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"directories":{},"publish_time":1392626947618,"_cnpm_publish_time":1392626947618,"_hasShrinkwrap":false}},"readme":"#portscanner-plus [![Build Status](https://travis-ci.org/shakyShane/portscanner-plus.svg?branch=master)](https://travis-ci.org/shakyShane/portscanner-plus)\n\nGet multiple availble ports within a range - with optional naming\n\n##Install\n\n```\nnpm install portscanner-plus --save-dev\n```\n\n##Usage\n\n```js\nvar portScanner = require(\"./lib/index\");\n\nvar names = ['controlPanel', 'socket', 'client'];\n\n// Return named ports as object\nportScanner.getPorts(3, 3000, 4000, names).then(function (ports) {\n    console.log(ports.controlPanel); // 3000\n    console.log(ports.socket); // 3001\n    console.log(ports.client); // 3002\n});\n\n// Return an array of ports\nportScanner.getPorts(2, 3000, 4000).then(function (ports) {\n    console.log(ports); // [3001, 3002]\n});\n```\n\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n_(Nothing yet)_\n\n## License\nCopyright (c) 2013 Shane Osbourne\nLicensed under the MIT license.\n","_attachments":{},"homepage":"https://github.com/shakyshane/portscanner-plus","bugs":{"url":"https://github.com/shakyshane/portscanner-plus/issues"}}