UNPKG

f-intercept

Version:

a thin wrapper around the fetch api to provide you with a subscribe function to intercept 401 status responses, uses @export-mike/efetch for caching etags

46 lines (45 loc) 1.26 kB
{ "name": "f-intercept", "version": "1.2.0", "description": "a thin wrapper around the fetch api to provide you with a subscribe function to intercept 401 status responses, uses @export-mike/efetch for caching etags", "main": "lib/index.js", "scripts": { "test": "mocha test --compilers js:babel-core/register -r ./test/fetch-mock", "prepublish": "npm run build", "build": "babel src -d lib" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/export-mike/export-mike-f.git" }, "keywords": [ "http", "intercept", "401", "etag" ], "author": "export-mike <m@mikejam.es>", "license": "ISC", "bugs": { "url": "https://github.com/export-mike/f-intercept/issues" }, "homepage": "https://github.com/export-mike/f-intercept#readme", "devDependencies": { "babel": "^6.5.2", "babel-cli": "^6.6.5", "babel-core": "^6.7.4", "babel-eslint": "^6.0.2", "babel-preset-es2015": "^6.6.0", "babel-preset-stage-1": "^6.5.0", "chai": "^3.5.0", "eslint": "^2.7.0", "eslint-config-rackt": "^1.1.1", "mocha": "^2.4.5" }, "dependencies": { "curry": "^1.2.0", "f-etag": "^1.0.0-rc2", "isomorphic-fetch": "^2.2.1", "url": "^0.11.0" } }