js-jwt
JavaScript library of jwt encoding
- npm (Node.js package manager)
npm install js-jwt --save
Usage
Modular include:
var jwt = ;jwt //you can init with secrete and without secret-keyvar token = jwt //here you can bas secret-key if you want to encode with different secretKey...console;
List of alg supported
SH256 SH512