Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

url-ok

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

url-ok - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc