CLI tool to visualize ping latency with colorful bars
npm install bv-ping8.8.8.8)
styleText support).
bash
node bv-ping [url] [options]
`
$3
- url: Host or IP to ping. Default: 8.8.8.8
$3
- --every : Ping interval in seconds (default: 1)
- --timestamp: Show timestamps on each ping
- --nogap: Remove the horizontal gap between bars
- --thresholds : Set custom latency thresholds (must be 3 increasing numbers)
Examples
`bash
Default usage
bv-ping
Ping Cloudflare DNS every 2 seconds
bv-ping 1.1.1.1 --every 2
Show timestamps and custom thresholds
bv-ping google.com --timestamp --thresholds 100,200,400
`
Notes
- Press q or Ctrl+C` to quit.