wait-up

0.0.2-1 • Public • Published

wait-up

NPM

Waits for http servers to come up with a preferably 200 ok status. Thanks to on-up.

Use by Example

  • $ wait-up will try / wait to get http://localhost
  • $ wait-up http://127.0.0.1:8080/location - takes a provided uri
  • $ wait-up /another/location with http://localhost assumed by on-up

The script will exit with statuscode 0, only if a 200 response status code was got. Otherwise it will be an error - 1.

License

MIT

Package Sidebar

Install

npm i wait-up

Weekly Downloads

2

Version

0.0.2-1

License

none

Last publish

Collaborators

  • orlin