Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Downtime
A CLI tool to mesure the downtime of multiples websites in realtime.
Any response status code is considered as a uptime. If the request fails, it’s considered as a downtime.
Published on deno.land/x/downtime
Prerequisites
To install the CLI tool, you need to have Deno installed in your machine.
Usage
Install and run
Install the CLI tool globally.
deno install --allow-read --allow-net -fn downtime https://deno.land/x/downtime/cli.ts
Run:
downtime https://garn.dev http://faker.deno.dev --sleep 2000 --timeout 3000
Run remotely
deno run -A https://deno.land/x/downtime/cli.ts https://garn.dev
Options
--sleep 1000 # in milliseconds. sleep between each request (default: 1000)
--timeout 5000 # in milliseconds. timeout for each request (default: 5000)
--maxTime 0 # in seconds. how long the tool should run. 0 to be always running (default: 0)