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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2-1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2-1
    1
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i wait-up

Weekly Downloads

1

Version

0.0.2-1

License

none

Last publish

Collaborators

  • orlin