jwt-payload-decoder
A simple, exportable function for getting the payload from a JWT (JSON Web Token).
Installation
$ npm install jwt-payload-decoder --save
Usage
Require the package in your application:
var jwtPayloadDecoder =
Then get the payload like so:
var payload = jwtPayloadDecoder var user = email: payloademail name: payloadname