Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "url-ok", | ||
"description": "check http status for number of URLs with timeout", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"bin": "main.js", | ||
@@ -6,0 +6,0 @@ "main": "lib/url-ok.js", |
# url-ok | ||
url-ok is a http and https status checker for URLs with timeout | ||
`url-ok` is a HTTP and HTTPS status checker for URLs. The default timeout is 120 seconds at | ||
which point it will abort the checks and the process will have an exit code of 1. If all | ||
the checks are successfull (success is defined as returning 200), the process will have an | ||
exit code of 0. | ||
If a URL cannot be reached, it will continue to try to reach the URL every 500 milleseconds | ||
up to the timeout. For HTTP, it uses a HEAD request while for HTTPS it uses GET. | ||
## Options | ||
--timeout to set a specific timeout in seconds | ||
--verbose to enable verbose output | ||
## Example of a successful run | ||
@@ -6,0 +17,0 @@ |
8721
41