async version of jwt.sign code example Example 1: json web token npm global Click to copy$ npm install jsonwebtoken Example 2: npm package for jwt Click to copy$ npm install jwt-simple