• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codozor / authk / 19833827610 / 1
49%
main: 49%

Build:
DEFAULT BRANCH: main
Ran 01 Dec 2025 06:51PM UTC
Files 8
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Dec 2025 06:49PM UTC coverage: 51.731% (+11.3%) from 40.417%
19833827610.1

push

github

SebastienLaurent-CF
✨ feat(inspect): Add --json flag and human-readable timestamps

This commit introduces significant improvements to the `inspect` command:

- **New Feature: `--json` flag**:
  A new `--json` flag has been added to the `inspect` command, allowing users to output the decoded JWT header and payload as a valid, uncolored JSON object. This facilitates machine-readable output for scripting and integration with other tools.

- **Human-readable Timestamps**:
  The default (non-JSON) output now automatically converts common epoch timestamps (e.g., `exp`, `iat`, `nbf`, `auth_time`, `updated_at`) in the JWT payload to human-readable date and time strings, displayed alongside the original epoch value. This greatly enhances readability for quick inspections.

- **Improved Readability for Dates**:
  The human-readable date appended to epoch timestamps is now rendered in a fainter color to distinguish it from the primary numerical value, improving visual clarity.

- **Documentation Updates**:
  The `README.md` and the `inspect` command's `--help` text have been updated to reflect the new `--json` flag and the enhanced output format.

- **Tests**:
  Added a unit test for the `decodeSegment` helper function and ensured all existing tests pass with the new changes.

269 of 520 relevant lines covered (51.73%)

1.58 hits per line

Source Files on job 19833827610.1
  • Tree
  • List 8
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19833827610
  • 42c961a5 on github
  • Prev Job for on main (#19803261734.1)
  • Next Job for on main (#19833928604.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc