Credential Expiry
@sntxrr/credential-expiryv2026.08.19.4
01README
Probe the credentials a fleet actually holds and report how long each has left, distinguishing expiry from an outage in progress
02Models
@sntxrr/credential-expiryv2026.08.19.4credential_expiry.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| credentials | array | The credentials to probe. |
| warnDays | array | Day thresholds at which a credential is reported `warn`. The largest is the point at which it first becomes visible. |
| criticalDays | number | At or below this many days remaining, status becomes `critical` rather than `warn`. |
| apiBaseUrl | string | GitHub API base URL, for `github-pat` probes. Override for GitHub Enterprise Server. |
| gitlabBaseUrl | string | GitLab instance base URL, for `gitlab-pat` probes, without the /api/v4 suffix. Override for self-managed. |
| timeoutMs | number | Abort any single probe request after this long. |
fn audit()
Probe every configured credential and write one resource each, plus a summary
Resources
credential(infinite)— One probed credential: its expiry, days remaining, and status
audit(infinite)— Summary of one audit pass: counts by status, the soonest expiry, and whether anything needs a human
03Previous Versions
2026.08.19.3
2026.08.19.2
2026.08.19.1
04Stats
A
100 / 100
Downloads
4
Archive size
18.3 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels