JSON web token example npm install Then node app.js to see an encrypted and decoded JSON web token with the jsonwebtoken library.