A simple node package that deciphers jwt token into json object
WITH NPM: $ npm install decipher-jwt
With YARN: $ yarn add decipher-jwt
Boluwaji Akinsefunmi
Published by MasterCraft
Inspired and tested by:
const { decipherJwt } = require("decipher-jwt");
const jwtToken = "Bearer xxxxxxxxxxx.xxxxxxxxx.xxxxxxx";
// it is not compulsory for the jwtToken string to contain 'Bearer' keyword
console.log(decipherJwt(jwtToken));
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.