UNPKG

axios-cache-interceptor

Version:
95 lines 2.81 kB
{ "name": "axios-cache-interceptor", "version": "1.12.0", "description": "Cache interceptor for axios", "keywords": [ "axios", "cache", "interceptor", "adapter", "http", "plugin", "wrapper" ], "homepage": "https://axios-cache-interceptor.js.org", "bugs": "https://github.com/arthurfiorette/axios-cache-interceptor/issues", "repository": { "type": "git", "url": "git+https://github.com/arthurfiorette/axios-cache-interceptor.git" }, "funding": "https://github.com/arthurfiorette/axios-cache-interceptor?sponsor=1", "license": "MIT", "author": "Arthur Fiorette <npm@arthur.place>", "sideEffects": false, "type": "module", "exports": { ".": { "types": { "require": "./dist/index.d.cts", "import": "./dist/index.d.mts" }, "require": "./dist/index.cjs", "import": "./dist/index.mjs", "default": "./dist/index.mjs" }, "./dev": { "types": { "require": "./dist/index.d.cts", "import": "./dist/index.d.mts" }, "require": "./dev/index.cjs", "import": "./dev/index.mjs", "default": "./dev/index.mjs" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "jsdelivr": "./dist/index.bundle.js", "unpkg": "./dist/index.bundle.js", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "dependencies": { "cache-parser": "^1.2.6", "fast-defer": "^1.1.9", "http-vary": "^1.0.3", "object-code": "^2.0.0", "try": "^1.0.3" }, "devDependencies": { "@arthurfiorette/biomejs-config": "2.0.1", "@biomejs/biome": "2.4.5", "@types/jsdom": "28.0.0", "@types/node": "24.11.0", "auto-changelog": "2.5.0", "axios": "1.13.6", "c8": "11.0.0", "jsdom": "28.1.0", "tsdown": "0.20.3", "tslib": "2.8.1", "typescript": "5.9.3", "vite-bundle-analyzer": "^1.3.6", "vitepress": "1.6.4", "vitepress-plugin-llms": "1.11.0" }, "peerDependencies": { "axios": "^1" }, "engines": { "node": ">=12" }, "scripts": { "benchmark": "cd benchmark && pnpm start", "build": "tsdown", "docs:build": "vitepress build docs", "docs:dev": "vitepress dev docs --port 1227", "docs:serve": "vitepress serve docs", "format": "biome format --write .", "lint": "biome check .", "lint-ci": "biome ci .", "lint-fix": "biome check --write --unsafe .", "test": "c8 --reporter lcov --reporter text node --import ./test/setup.ts --test test/**/*.test.ts", "test:only": "c8 --reporter lcov --reporter text node --import ./test/setup.ts --test-only", "test:types": "tsc --noEmit", "version": "auto-changelog -p && cp CHANGELOG.md docs/src/others/changelog.md && git add CHANGELOG.md docs/src/others/changelog.md" } }