TOOLID=approval-sla-calculator. Offline, read-only Node 22+ CLI with no dependencies. It calculates elapsed and business-minute approval SLAs from local versioned exports. It does not contact providers or write files.
This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+; inspect the source before using it on your own files.
Run the checked-in example
node bin/approval-sla-calculator.mjs --root examples/pass --approvals approvals.json --policy policy.json
node bin/approval-sla-calculator.mjs --root examples/fail --approvals approvals.json --policy policy.jsonRead the result
The first command exits 0; the second exits 1 because 90 business minutes exceed its 89-minute policy. The package exports TOOLID and evaluateApprovals(export, policy) for direct library use without file I/O. --help describes the command. Standard output is one deterministic JSON report; bad usage writes only to standard error. Both input paths are relative to --root. Real paths must remain within the real root.
Where this check stops
This local walkthrough does not establish the state of a live production system or replace the limits documented in the repository.
Before adapting the command to your own workflow, review the accepted inputs, exit codes and safety boundaries in the README.
Compiled with AI assistance from checked-in public documentation and example scripts. Run the example and review the repository's current documentation before relying on its result.