{"_id":"@9fv.io/is-port-reachable","_rev":"3-24c60477c2dfeafb1de9de01647b98ff","name":"@9fv.io/is-port-reachable","dist-tags":{"latest":"0.1.0-beta1"},"versions":{"0.1.0-alpha1":{"name":"@9fv.io/is-port-reachable","version":"0.1.0-alpha1","description":"Tests if a host port is accessible by validating the formatting of the host and the port beforehand.","main":"lib/index.js","directories":{"lib":"lib","test":"test"},"scripts":{"test":"nyc mocha","lint":"node ./node_modules/gulp/bin/gulp.js lint","docs":"node ./node_modules/gulp/bin/gulp.js docs","coverage":"npm run test && nyc report --reporter=text-lcov | coveralls","precommit-msg":"echo 'Pre-commit checks...' && exit 0"},"repository":{"type":"git","url":"git+https://github.com/9fv/node-is-port-reachable.git"},"keywords":["host","port","hostname","network","reachability","reachable","formatting","validation"],"author":{"name":"9 Février","email":"contact@9fevrier.com"},"license":"MIT","bugs":{"url":"https://github.com/9fv/node-is-port-reachable/issues"},"homepage":"https://github.com/9fv/node-is-port-reachable#readme","devDependencies":{"coveralls":"^3.0.0","current-git-branch":"^1.0.1","eslint":"^4.16.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-mocha":"^4.11.0","eslint-plugin-react":"^7.5.1","fs-then-native":"^2.0.0","gulp":"^3.9.1","gulp-concat":"^2.6.1","gulp-eslint":"^4.0.1","gulp-istanbul":"^1.1.3","gulp-load-plugins":"^1.5.0","gulp-mocha":"^5.0.0","gulp-mustache":"^3.0.1","gulp-rename":"^1.2.2","gulp-util":"^3.0.8","isparta":"^4.0.0","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.0","nyc":"^11.4.1","pre-commit":"^1.2.2","require-dir":"^1.0.0","should":"^13.2.1"},"dependencies":{"bluebird":"^3.5.1","host-port":"0.1.0-alpha1","lodash":"^4.17.4"},"gitHead":"131d2efc8092266f70909185a15e41d7ef48fb92","_id":"@9fv.io/is-port-reachable@0.1.0-alpha1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"9fv.io","email":"contact@9fv.io"},"dist":{"integrity":"sha512-6ZrSiQAhljC9HQ0XofA3wO0vb2h6OhDZRaH1tYOLup9RjHKypWEZMcTccetaN0fbWNbqiX8WFAhrO6XGq5yb1g==","shasum":"4498c24e018099ad2f887c450e188c79b366aa02","tarball":"https://registry.npmjs.org/@9fv.io/is-port-reachable/-/is-port-reachable-0.1.0-alpha1.tgz","fileCount":16,"unpackedSize":29135,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvr/BPJVzo4aDMu3Ox2QV9iYnK9PIkmOGExXHoewcDbQIhAJsXdRuI/C5g5sPUuM3PfWjyQH1NvxI5A6F6TIpzWmgt"}]},"maintainers":[{"name":"9fv.io","email":"contact@9fv.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-port-reachable_0.1.0-alpha1_1518367892449_0.6902064773973378"},"_hasShrinkwrap":false},"0.1.0-beta1":{"name":"@9fv.io/is-port-reachable","version":"0.1.0-beta1","description":"Tests if a host port is accessible by validating the formatting of the host and the port beforehand.","main":"lib/index.js","directories":{"lib":"lib","test":"test"},"scripts":{"test":"nyc mocha","lint":"node ./node_modules/gulp/bin/gulp.js lint","docs":"node ./node_modules/gulp/bin/gulp.js docs","coverage":"npm run test && nyc report --reporter=text-lcov | coveralls","precommit-msg":"echo 'Pre-commit checks...' && exit 0"},"repository":{"type":"git","url":"git+https://github.com/9fv/node-is-port-reachable.git"},"keywords":["host","port","hostname","network","reachability","reachable","formatting","validation"],"author":{"name":"9 Février","email":"contact@9fevrier.com"},"license":"MIT","bugs":{"url":"https://github.com/9fv/node-is-port-reachable/issues"},"homepage":"https://github.com/9fv/node-is-port-reachable#readme","devDependencies":{"coveralls":"^3.0.0","current-git-branch":"^1.0.1","eslint":"^4.16.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-mocha":"^4.11.0","eslint-plugin-react":"^7.5.1","fs-then-native":"^2.0.0","gulp":"^3.9.1","gulp-concat":"^2.6.1","gulp-eslint":"^4.0.1","gulp-istanbul":"^1.1.3","gulp-load-plugins":"^1.5.0","gulp-mocha":"^5.0.0","gulp-mustache":"^3.0.1","gulp-rename":"^1.2.2","gulp-util":"^3.0.8","isparta":"^4.0.0","jsdoc-to-markdown":"^4.0.1","mocha":"^5.0.0","nyc":"^11.4.1","pre-commit":"^1.2.2","require-dir":"^1.0.0","should":"^13.2.1"},"dependencies":{"bluebird":"^3.5.1","host-port":"0.1.0-alpha1","lodash":"^4.17.4"},"gitHead":"16988f8659b6d5a0d0be562ab1edc77ab016dce2","_id":"@9fv.io/is-port-reachable@0.1.0-beta1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"9fv.io","email":"contact@9fv.io"},"dist":{"integrity":"sha512-LG1aPIFFs4Kwf+qDrlBGzk6Sbad3uEoH88vK+MGp4ixqunFdZYNZy/jThgD6fF2ksvNIYosQkpFkrSQBo1VLFw==","shasum":"931c1f3f06b1d563c300b9e3e3602cea944a0b0d","tarball":"https://registry.npmjs.org/@9fv.io/is-port-reachable/-/is-port-reachable-0.1.0-beta1.tgz","fileCount":16,"unpackedSize":29163,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1SMDe32nlSAlgajAvQm4owATkPaGQH0Urd/gesJQoowIgL5REAcVqbMEWS5Yp6xU/LfGB9FNrO4kdKaQS7H9HtWg="}]},"maintainers":[{"name":"9fv.io","email":"contact@9fv.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-port-reachable_0.1.0-beta1_1518540073213_0.008875345315864536"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-11T16:51:31.988Z","0.1.0-alpha1":"2018-02-11T16:51:33.349Z","modified":"2022-04-04T10:51:13.063Z","0.1.0-beta1":"2018-02-13T16:41:13.939Z"},"maintainers":[{"name":"9fv.io","email":"contact@9fv.io"}],"description":"Tests if a host port is accessible by validating the formatting of the host and the port beforehand.","homepage":"https://github.com/9fv/node-is-port-reachable#readme","keywords":["host","port","hostname","network","reachability","reachable","formatting","validation"],"repository":{"type":"git","url":"git+https://github.com/9fv/node-is-port-reachable.git"},"author":{"name":"9 Février","email":"contact@9fevrier.com"},"bugs":{"url":"https://github.com/9fv/node-is-port-reachable/issues"},"license":"MIT","readme":"[npm-badge]: https://img.shields.io/npm/v/@9fv.io&#x2F;is-port-reachable.svg\n[npm-badge-url]: https://www.npmjs.com/package/@9fv.io&#x2F;is-port-reachable\n[npm-downloads-badge]: https://img.shields.io/npm/dt/@9fv.io&#x2F;is-port-reachable.svg\n[npm-downloads-url]: https://npmjs.org/package/@9fv.io&#x2F;is-port-reachable\n[travis-badge]: https://img.shields.io/travis/9fv/node-is-port-reachable/master.svg?label=TravisCI\n[travis-badge-url]: https://travis-ci.org/9fv/node-is-port-reachable\n[circle-badge]: https://circleci.com/gh/9fv/node-is-port-reachable/tree/master.svg?style=svg&circle-token=\n[circle-badge-url]: https://circleci.com/gh/9fv/node-is-port-reachable/tree/master\n[coveralls-badge]: https://coveralls.io/repos/github/9fv/node-is-port-reachable/badge.svg?branch=master\n[coveralls-badge-url]: https://coveralls.io/github/9fv/node-is-port-reachable?branch=master\n[codeclimate-badge]: https://img.shields.io/codeclimate/github/9fv/node-is-port-reachable.svg\n[codeclimate-badge-url]: https://codeclimate.com/github/9fv/node-is-port-reachable\n[ember-observer-badge]: http://emberobserver.com/badges/node-is-port-reachable.svg\n[ember-observer-badge-url]: http://emberobserver.com/addons/node-is-port-reachable\n[license-badge]: https://img.shields.io/npm/l/@9fv.io&#x2F;is-port-reachable.svg\n[license-badge-url]: LICENSE.md\n[dependencies-badge]: https://img.shields.io/david/9fv/node-is-port-reachable.svg\n[dependencies-badge-url]: https://david-dm.org/9fv/node-is-port-reachable\n[devDependencies-badge]: https://img.shields.io/david/dev/9fv/node-is-port-reachable.svg\n[devDependencies-badge-url]: https://david-dm.org/9fv/node-is-port-reachable#info=devDependencies\n[greenkeeper-badge]: https://badges.greenkeeper.io/9fv/node-is-port-reachable.svg\n[greenkeeper-badge-url]: https://greenkeeper.io/\n\n\nnode-is-port-reachable\n====================\n\nTests if a host port is accessible by validating the formatting of the host and the port beforehand.\n\n[![Latest NPM release][npm-badge]][npm-badge-url]\n[![NPM Downloads][npm-downloads-badge]][npm-downloads-url]\n[![TravisCI Build Status][travis-badge]][travis-badge-url]\n[![Test Coverage][coveralls-badge]][coveralls-badge-url]\n[![Code Climate][codeclimate-badge]][codeclimate-badge-url]\n[![License][license-badge]][license-badge-url]\n[![Dependencies][dependencies-badge]][dependencies-badge-url] \n[![Dev Dependencies][devDependencies-badge]][devDependencies-badge-url]\n[![Greenkeeper badge][greenkeeper-badge]][greenkeeper-badge-url]\n\n\n## Table of Contents\n\n* [Synopsis](#synopsis)\n* [Usage](#usage)\n* [Installation](#installation)\n* [API Reference](#api-reference)\n* [Tests](#tests)\n  * [Run unit tests](#tests_run-unit-tests)\n* [Compatibility](#compatibility)\n  * [Node](#compatibility_node)\n  * [Browser](#compatibility_browser)\n* [Issues](#issues)\n* [Contributing](#contributing)\n* [Credits](#credits)\n* [History](#history)\n* [License](#license)\n\n## <a name=\"synopsis\"> Synopsis\n\nTests if a host port is accessible by validating the formatting of the host and the port beforehand.\n\n**Warning!** Work in progress...\n\n## <a name=\"usage\"> Usage\n\n```javascript\n   const {isPortReachable} = require('is-port-reachable');\n\n   # Test if the port 443 of host 172.17.0.2 is reachable.\n   isPortReachable('172.17.0.2:443');\n\n```\n\n## <a name=\"installation\"> Installation\n\n    npm install @9fv.io/is-port-reachable\n\n## <a name=\"api-reference\"> API Reference\n\nPlease refer to [API documentation](docs/API.md).\n\n## <a name=\"test\"> Tests\n\n### <a name=\"tests_run-unit-tests\"> Run unit tests\n\n    npm test\n\n## <a name=\"compatibility\"> Compatibility\n\n### <a name=\"compatibility_node\"> Node\n\nTested using [Node v9.5.0](https://nodejs.org/dist/v9.5.0/docs/api/).\n\n### <a name=\"compatibility_browser\"> Browser\n\nUntested at this time.\n\n## <a name=\"issues\"> Issues\n\nFeel free to submit issues and enhancement requests.\n\n## <a name=\"contributing\"> Contributing\n\nPlease refer to project's style guidelines and guidelines for submitting patches and additions. In general, we follow the \"fork-and-pull\" Git workflow.\n\n 1. **Fork** the repo on GitHub\n 2. **Clone** the project to your own machine\n 3. **Commit** changes to your own branch\n 4. **Push** your work back up to your fork\n 5. Submit a **Pull request** so that we can review your changes\n\n**NOTE**: Be sure to merge the latest from \"upstream\" before making a pull request!\n\n## <a name=\"credits\"> Credits\n\n* [node-is-port-reachable](https://github.com/9fv/node-is-port-reachable)\n* [node-repeat-until-success](https://github.com/9fv/node-repeat-until-success)\n\n## <a name=\"history\"> History\n\nPlease refer to [the changelog file](docs/CHANGELOG.md).\n\n## <a name=\"license\"> License\n\n>\n> [The MIT License](https://opensource.org/licenses/MIT)\n>\n> Copyright (c) 2018 SAS 9 Février\n>\n> Permission is hereby granted, free of charge, to any person obtaining a copy\n> of this software and associated documentation files (the \"Software\"), to deal\n> in the Software without restriction, including without limitation the rights\n> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n> copies of the Software, and to permit persons to whom the Software is\n> furnished to do so, subject to the following conditions:\n>\n> The above copyright notice and this permission notice shall be included in all\n> copies or substantial portions of the Software.\n>\n> THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n> SOFTWARE.\n>\n","readmeFilename":"README.md"}