# auth0/node-jsonwebtoken

JsonWebToken implementation for node.js http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html

Repository: https://github.com/auth0/node-jsonwebtoken
Canonical: https://ross.abutalabs.com/products/node-jsonwebtoken
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-06-25T15:23:15+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 35, longevity 100
- inputs: {"age_days": 4812, "days_push": 69, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 18189, forks 1286 (observed 2026-08-28T04:11:26.424392+00:00)

## What it is
A Node.js library implementing JSON Web Tokens (JWT) per RFC 7519, supporting signing and verification with HMAC, RSA, and ECDSA algorithms. It is the de facto standard JWT package for Node.js, maintained by Auth0.

## Use cases
- sign and verify JWTs for user authentication in a node.js api
- issue access tokens with expiration for a rest api
- validate bearer tokens in express middleware
- create refresh tokens with expiry for a web app
- sign tokens with RS256 private keys
- implement jwt-based session handling in node

## When to choose
- you need to sign or verify JWTs in a Node.js application
- you want a mature, widely adopted JWT library with algorithm options like HS256, RS256, ES256
- you need token expiration (exp) and not-before (nbf) claim handling

## When to avoid
- you are not on Node.js (use a JWT library for your runtime instead)
- you need full JOSE/JWE encryption, not just signing and verification
- you want a higher-level authentication framework rather than a token utility

## Facets
- artifact type: library
- maturity: stable
- function: auth, serialization, security
- domain: security, web-development, backend, apis
- platform: -
- tags: jwt, webtoken, token-signing, oauth, rfc7519, nodejs

## Member repositories
- auth0/node-jsonwebtoken (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:26.424392+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:02:07.675305+00:00, confidence not recorded.
  - readme: https://github.com/auth0/node-jsonwebtoken (fetched 2026-08-28T04:11:26.424392+00:00, sha 894d81b3b47e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
