jwt-简单 用于node.js的编码和解码模块。 安装 $ npm install jwt-simple 用法 let jwt = require ( 'jwt-simple' ) ; let payload = { foo : 'bar' } ; let secret = 'xxx' ; // HS256 secrets are typically 128-bit random strings, for example hex-encoded: // let secret = Buffer.from('fe1a1915a379f3be5394b64d14794932', 'hex') //