node jwt.verify code example Example 1: json web token npm global $ npm install jsonwebtoken Example 2: npm package for jwt $ npm install jwt-simple