delvery
v0.0.8
Published
CLI to measure latency and/ or response time
Downloads
5
Readme
A CLI made to measure latency and/ or response time by providing a URL of an endpoint via simple call or polling.
Pre-requisite
How to use
To install the CLI
You can choose to either use the CLI directly with npx or to install the CLI globally with NPM.
* Please note that as of npx is bundled with NPM as of the version of 5.2.0.
# Use CLI with npx
$ npx delvery <command>
# Install globally via NPM
$ npm install -g delvery
Commands
Show help via
-h
or--help
.# delvery --help $ delvery -h
Run latency test via
-l
or--latency
.# delvery --latency <url|ip_address> # delvery -l <url|ip_address> $ delvery "https://example.com"
Run polling test via
-p
or--polling
.# delvery --polling <url> [-H <headers> -d <post_data> -i <custom_intervals> -c <custom_cut_off_times> -s <stop_when_complete>] # delvery -p <url> [-H <headers> -d <post_data> -i <custom_intervals> -c <custom_cut_off_times> -s <stop_when_complete>] delvery -p "https://example.com" -H '{ "X-Random-Key": "4w3s0m3" }' -i "1.5,2,3,5" -c "3,5,7,9"
License
MIT License © The Zumata Team