npm jsonwebtoken get expiration time code example Example: npm package for jwt $ npm install jwt-simple