{"library":"jwt-redis","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"7.0.3","tags":["javascript","jwt","redis","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install jwt-redis","imports":["import JWTR from 'jwt-redis';","import JWTR from 'jwt-redis';","import JWTR from 'jwt-redis';"]},{"cmd":"yarn add jwt-redis","imports":[]},{"cmd":"pnpm add jwt-redis","imports":[]}],"homepage":"https://github.com/Natashkinsasha/jwt-redis-v2#readme","github":"git://github.com/Natashkinsasha/jwt-redis-v2","docs":null,"changelog":null,"pypi":null,"npm":"jwt-redis","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}