{"_id":"@9fv.io/wait-for-it","_rev":"3-b3b9483e2a81b0e8330e2b1921086deb","name":"@9fv.io/wait-for-it","dist-tags":{"latest":"0.1.0-beta1"},"versions":{"0.1.0-alpha1":{"name":"@9fv.io/wait-for-it","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-wait-for-it.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-wait-for-it/issues"},"homepage":"https://github.com/9fv/node-wait-for-it#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":{"@9fv.io/is-port-reachable":"0.1.0-beta1","bluebird":"^3.5.1","host-port":"0.1.0-alpha1","lodash":"^4.17.4","repeat-until-success":"^0.1.4"},"gitHead":"1128babfe36b116a079d7a50ce964d8dda1dc10e","_id":"@9fv.io/wait-for-it@0.1.0-alpha1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"9fv.io","email":"contact@9fv.io"},"dist":{"integrity":"sha512-c97Uzt/c77WQiU8ckXoadjUpb56pe7+7nsoCSphjq6eapTcEIbYryQeIClMBqaYwKmeO4tq/w3qxq0jVMrPESw==","shasum":"f86d54b99ca9f6a6645fdc0831060f1007167a25","tarball":"https://registry.npmjs.org/@9fv.io/wait-for-it/-/wait-for-it-0.1.0-alpha1.tgz","fileCount":16,"unpackedSize":29379,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQC9rzJSOshsEziVSD8vBvo09erDMGmwS9Ukx6J+y6Lr4gIfDw6K5fsNN0K9ESO1e/YQ0NsgsGBsu98FeHiy2acBAQ=="}]},"maintainers":[{"name":"9fv.io","email":"contact@9fv.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-it_0.1.0-alpha1_1518546993782_0.41895036018173837"},"_hasShrinkwrap":false},"0.1.0-beta1":{"name":"@9fv.io/wait-for-it","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-wait-for-it.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-wait-for-it/issues"},"homepage":"https://github.com/9fv/node-wait-for-it#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":{"@9fv.io/is-port-reachable":"0.1.0-beta1","bluebird":"^3.5.1","host-port":"0.1.0-alpha1","lodash":"^4.17.4","repeat-until-success":"^0.1.4"},"gitHead":"ae53e60579c8b643b89a03bf1e906bbfd1524c95","_id":"@9fv.io/wait-for-it@0.1.0-beta1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"9fv.io","email":"contact@9fv.io"},"dist":{"integrity":"sha512-ZFB+Ol3DqZFz1qz7cF2dbtrnM+9OWLMvIPIS1UU+Th0vwSOkVPme/RmAu8wI5M18Lrr1XKVUCTTzzKxBOQse5g==","shasum":"d2f42edeba50dd66fe06630f6e95d9cb409a696d","tarball":"https://registry.npmjs.org/@9fv.io/wait-for-it/-/wait-for-it-0.1.0-beta1.tgz","fileCount":16,"unpackedSize":29663,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIIzee9Asg613K6vwMfUVZzEvSk+rZMi1klDWDVMlFKQIgIuH3K4huXHRPf2uFS0ontq92Ska0UxqsebOiWqAzKS0="}]},"maintainers":[{"name":"9fv.io","email":"contact@9fv.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-it_0.1.0-beta1_1518625350406_0.9314160567487013"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-13T18:36:33.488Z","0.1.0-alpha1":"2018-02-13T18:36:34.510Z","modified":"2022-04-04T10:51:13.716Z","0.1.0-beta1":"2018-02-14T16:22:31.177Z"},"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-wait-for-it#readme","keywords":["host","port","hostname","network","reachability","reachable","formatting","validation"],"repository":{"type":"git","url":"git+https://github.com/9fv/node-wait-for-it.git"},"author":{"name":"9 Février","email":"contact@9fevrier.com"},"bugs":{"url":"https://github.com/9fv/node-wait-for-it/issues"},"license":"MIT","readme":"[npm-badge]: https://img.shields.io/npm/v/@9fv.io&#x2F;wait-for-it.svg\n[npm-badge-url]: https://www.npmjs.com/package/@9fv.io&#x2F;wait-for-it\n[npm-downloads-badge]: https://img.shields.io/npm/dt/@9fv.io&#x2F;wait-for-it.svg\n[npm-downloads-url]: https://npmjs.org/package/@9fv.io&#x2F;wait-for-it\n[travis-badge]: https://img.shields.io/travis/9fv/node-wait-for-it/master.svg?label=TravisCI\n[travis-badge-url]: https://travis-ci.org/9fv/node-wait-for-it\n[circle-badge]: https://circleci.com/gh/9fv/node-wait-for-it/tree/master.svg?style=svg&circle-token=\n[circle-badge-url]: https://circleci.com/gh/9fv/node-wait-for-it/tree/master\n[coveralls-badge]: https://coveralls.io/repos/github/9fv/node-wait-for-it/badge.svg?branch=master\n[coveralls-badge-url]: https://coveralls.io/github/9fv/node-wait-for-it?branch=master\n[codeclimate-badge]: https://img.shields.io/codeclimate/github/9fv/node-wait-for-it.svg\n[codeclimate-badge-url]: https://codeclimate.com/github/9fv/node-wait-for-it\n[ember-observer-badge]: http://emberobserver.com/badges/node-wait-for-it.svg\n[ember-observer-badge-url]: http://emberobserver.com/addons/node-wait-for-it\n[license-badge]: https://img.shields.io/npm/l/@9fv.io&#x2F;wait-for-it.svg\n[license-badge-url]: LICENSE.md\n[dependencies-badge]: https://img.shields.io/david/9fv/node-wait-for-it.svg\n[dependencies-badge-url]: https://david-dm.org/9fv/node-wait-for-it\n[devDependencies-badge]: https://img.shields.io/david/dev/9fv/node-wait-for-it.svg\n[devDependencies-badge-url]: https://david-dm.org/9fv/node-wait-for-it#info=devDependencies\n[greenkeeper-badge]: https://badges.greenkeeper.io/9fv/node-wait-for-it.svg\n[greenkeeper-badge-url]: https://greenkeeper.io/\n\n\nnode-wait-for-it\n====================\n\nWaits until all pairs (host:port) respond.\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\nWaits until all pairs (host:port) respond.\n\n**Warning!** Work in progress...\n\n## <a name=\"usage\"> Usage\n\n```javascript\n   const {waitForIt} = require('@9fv/wait-for-it');\n\n   waitForIt('www.google.com:80').wait();\n\n   waitForIt('www.google.com:80 www.yahoo.fr:80 www.laposte.net:80').wait();\n\n   waitForIt('www.jesuisunnomdedomainequinexistepas.com:443').wait();\n\n   waitForIt().add('www.google.com:443')\n     .add('www.jesuisunnomdedomainequinexistepas.com:443')\n     .timeout(15000)\n     .delay(1000)\n     .wait();\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-host-port](https://github.com/9fv/node-host-port)\n* Thanks to [Paul Schneider](https://stackoverflow.com/users/4547337/paul-schneider) for his [Stackoverflow answer](https://stackoverflow.com/q/29356800) about network connection timeout.\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"}