UNPKG

@composite-fetcher/with-caching

Version:

withCaching is a simple fetcher core plugin to manage request caching with different drivers

66 lines 1.69 kB
{ "name": "@composite-fetcher/with-caching", "description": "withCaching is a simple fetcher core plugin to manage request caching with different drivers", "version": "0.2.1", "author": "Teofanis Papadopulos", "type": "module", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "sideEffects": false, "files": [ "dist/**" ], "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" } }, "keywords": [ "caching", "http-cache", "fetch-cache", "request-cache", "response-cache", "storage", "session-storage", "local-storage", "memory-cache", "ttl", "cache-control", "http-caching", "plugin", "fetch-plugin", "api-cache", "web-cache", "composite-fetcher", "plugin", "fetch-plugin", "with-caching", "withCaching" ], "devDependencies": { "@types/isomorphic-fetch": "^0.0.36", "@types/jest": "^29.5.5", "@types/node": "^20.7.0", "fetch-mock": "^9.11.0", "isomorphic-fetch": "^3.0.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "@composite-fetcher/eslint-config": "0.2.0", "@composite-fetcher/tsconfig": "0.0.0" }, "dependencies": { "@composite-fetcher/core": "^0.2.0" }, "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts", "dev": "pnpm run build -- --watch", "lint": "eslint \"src/**/*.ts*\"", "test": "jest", "format": "pnpm run lint -- --fix && prettier --write \"src/**/*.ts*\" --ignore-path .gitignore", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" } }