delvery

CLI to measure latency and/ or response time

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
delvery
0.0.87 years ago7 years agoMinified + gzip package size for delvery in KB

Readme

Delvery

CLI to measure latency and/ or response time.




!Build Statustravis-badgetravis-url !Versionversion-badgeversion-url !Downloadsdownloads-badgedownloads-url !MIT Licensemit-license-badgemit-license-url !Dependency Statusdaviddm-badgedaviddm-url !NSP Statusnsp-badgensp-url
!Code of Conductcoc-badgecoc-url
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 npxnpx-url or to install the CLI globally with NPMnpm-url.
\ Please note that as of npxnpx-url is bundled with NPMnpm-url as of the version of 5.2.0npx-the-npm-package-runner-url.
# Use CLI with npx
$ npx delvery <command>

# Install globally via NPM
$ npm install -g delvery

Commands

  • Show help via -h or --help.

```bash # delvery --help $ delvery -h ```
  • Run latency test via -l or --latency.

```bash # delvery --latency address> # delvery -l address> $ delvery "https://example.com" ```
  • Run polling test via -p or --polling.

```bash # delvery --polling -H -d data> -i intervals> -c cut
offtimes> -s whencomplete> # delvery -p -H -d data> -i intervals> -c cutofftimes> -s whencomplete> 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