{"adoption": {"forks": 121, "observed_at": "2026-08-28T04:04:28.075951+00:00", "stars": 1350}, "canonical_url": "https://ross.abutalabs.com/products/koajs-jwt", "card": {"archived": false, "artifact_type": "library", "description": "Koa middleware for validating JSON Web Tokens", "domain": ["web-development", "backend", "security", "apis"], "enriched": true, "function": ["auth", "middleware", "http-server"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["koajs/jwt"], "name": "koajs/jwt", "platform": [], "pushed_at": "2024-09-10T02:34:25+00:00", "repo": "koajs/jwt", "stars": 1350, "tags": ["jwt", "koa", "authentication", "token-validation", "expressjs-alternative", "nodejs", "web-server"], "topics": [], "urls": [], "use_cases": ["add jwt authentication to a koa api", "validate bearer tokens in node.js http requests", "protect koa routes with token auth", "read jwt from a cookie in koa", "set authenticated user on request state for authorization"], "what_it_is": "koa-jwt is a Koa middleware for authenticating HTTP requests using JSON Web Tokens. It validates JWTs from headers or cookies and exposes the decoded payload to downstream middleware for authorization.", "when_to_avoid": ["you use Express or Fastify rather than Koa", "you need full identity management with sessions, OAuth, or user registration", "you need non-JWT auth schemes like basic auth or SAML"], "when_to_choose": ["your app is built on Koa and you need standard JWT bearer/cookie authentication", "you want a small, focused middleware rather than a full auth framework", "you need token revocation checks and custom secret handling"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/koajs-jwt", "repo": "koajs/jwt", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:28.075951+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:42:17.667961+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e9e52051ecc3b77cc90a919447eeff4e9c9bc949ca7683656c9ea4b64a29ef7a", "fetched_at": "2026-08-28T04:04:28.075951+00:00", "kind": "readme", "missing": false, "url": "https://github.com/koajs/jwt"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4599, "days_push": 723, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}