jwt-redis
JSON →A JSON Web Token (JWT) library that extends jsonwebtoken by adding Redis-backed token revocation. v7.0.3 wraps the full jsonwebtoken API with methods sign, verify, decode, and destroy; the destroy method removes a token's jti from Redis, making it immediately invalid. It requires Redis client (node-redis v4+). Uses ESM by default; ships TypeScript definitions. Key differentiator: ability to revoke tokens before expiry, unlike jsonwebtoken itself.
Resources
packagejwt-redis ↗