JWT Black List
A black list for JWT base on bloom filter and xxhash
Install
npm install jwt-blacklist
TL;DR;
From version 0.1.0, jwt-blacklist is actually a black list instead of an extension of jsonwebtoken. It also supports Typescript and Redis now.
You can see older docs on Github
Usage
Create a blacklist
; // memory; // redis;
Add, has and clear
blacklist.addtoken; // not allow jwt without expblacklist.hastoken;blacklist.clear;