UNPKG

custom-api-handler

Version:

The package uses axios library to request APIs and uses local-storage for tokens (auth & refresh).

33 lines (32 loc) 611 B
{ "name": "custom-api-handler", "version": "1.2.2", "description": "", "main": "lib/index.js", "types": "lib", "scripts": { "build": "tsc -p .", "test": "mocha test/test.js" }, "keywords": [ "api-handler", "api-request-handler" ], "author": "Paras Jain", "license": "ISC", "devDependencies": { "@types/btoa": "^1.2.3", "typescript": "^4.3.5" }, "files": [ "lib", "src", "package.json" ], "dependencies": { "axios": "^0.21.1", "jwt-decode": "^3.1.2", "mocha": "^9.1.0", "moment": "^2.29.1" } }