jsonwebtoken code code example Example: jsonwebtoken var jwt = require('jsonwebtoken');var token = jwt.sign({ foo: 'bar' }, 'shhhhh');