jwt-node-decoder
Version:
Decodes JWT (JSON Web Token) and checks expiration date. A Node port of angular-jwt.
57 lines (56 loc) • 1.73 kB
JSON
{
"name": "jwt-node-decoder",
"version": "0.0.4",
"description": "Decodes JWT (JSON Web Token) and checks expiration date. A Node port of angular-jwt.",
"main": "lib/index.js",
"scripts": {
"build": "babel src --out-dir lib",
"build-watch": "babel src --watch --out-dir lib",
"clear": "rm -rf ./lib ./coverage ./.nyc_output",
"coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"nyc": "nyc npm test && nyc report --reporter=lcov",
"prepublish": "npm run clear && npm test",
"pretest": "npm run build",
"start": "npm test",
"test": "mocha",
"test-watch": "mocha --watch",
"update-D": "npm install --save-dev babel-cli@latest babel-preset-es2015@latest babel-preset-stage-0@latest babel-register@latest chai@latest chai-as-promised@latest coveralls@latest mocha@latest nyc@latest",
"watch": "npm run build-watch & npm run test-watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/joonhocho/jwt-node-decoder.git"
},
"keywords": [
"jwt",
"JSON",
"Web",
"Token",
"node",
"angular-jwt",
"jwt-decode",
"decoder",
"expiration",
"expired"
],
"author": "Joon Ho Cho",
"license": "MIT",
"bugs": {
"url": "https://github.com/joonhocho/jwt-node-decoder/issues"
},
"homepage": "https://github.com/joonhocho/jwt-node-decoder#readme",
"dependencies": {
"jwt-decode": "^2.0.1"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"coveralls": "^2.11.9",
"mocha": "^2.5.3",
"nyc": "^6.4.4"
}
}