decipher-jwt
v1.1.1
Published
A simple node package that can be used to decipher jwt
Downloads
3
Readme
decipher-jwt
A simple node package that deciphers jwt token into json object
Installation
WITH NPM: $ npm install decipher-jwt
With YARN: $ yarn add decipher-jwt
Author
Boluwaji Akinsefunmi
Published by MasterCraft Inspired and tested by:
Usage
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));
Outcome
Success
Failure
Contributions
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.