fast-ops-url-probe-cli
v0.1.3
Published
CLI for fast URL reachability and gateway failure triage.
Maintainers
Readme
fast-ops-url-probe-cli
CLI for fast URL reachability checks and first-response triage for 5xx and network failures.
Install
npm i -g fast-ops-url-probe-cliOr run without install:
npx --yes fast-ops-url-probe-cli https://example.comWhat It Gives You
- DNS resolution details (hostname and resolved addresses)
- HTTP status, redirect chain, headers, latency
- Failure classification (for example
bad_gateway,gateway_timeout,dns_resolution_failure) - Optional side-by-side compare mode for origin vs proxy or internal vs external paths
- Next-step checks you can run immediately
- Optional status assertion mode for quick pass/fail automation
Usage
fast-url-probe <url> [--compare <url>] [--json] [--timeout <ms>] [--max-redirects <n>] [--method <verb>] [--header <key:value>] [--expect-status <code>] [--insecure]Quick Examples
Basic probe:
fast-url-probe https://example.com/healthJSON output for scripts:
fast-url-probe https://example.com/health --jsonCheck proxy vs origin behavior:
fast-url-probe "http://origin.local/health" --compare "https://proxy.example.com/health" --expect-status 200 --jsonProbe with method and header override:
fast-url-probe "https://proxy.example.com/api/stacks/demo/up?env=1" --method POST --header "Accept: application/json" --timeout 45000 --jsonExit Codes
0: Probe completed and assertions (if any) passed1: Argument or execution error2:--expect-statusassertion failed
Node Version
Node.js 20 or later.
