Skip to content

A simple node package to interprete a jwt token as json data

License

Notifications You must be signed in to change notification settings

IAmMasterCraft/decipher-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

License

MIT License

About

A simple node package to interprete a jwt token as json data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages