UNPKG

cacheable-request

Version:

Wrap native HTTP requests with RFC compliant cache support

65 lines 1.96 kB
{ "name": "cacheable-request", "version": "13.0.19", "description": "Wrap native HTTP requests with RFC compliant cache support", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/jaredwray/cacheable.git", "directory": "packages/cacheable-request" }, "author": "Jared Wray <me@jaredwray.com> (http://jaredwray.com)", "type": "module", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "engines": { "node": ">=18" }, "files": [ "dist", "LICENSE" ], "keywords": [ "HTTP", "HTTPS", "cache", "caching", "layer", "cacheable", "RFC 7234", "RFC", "7234", "compliant" ], "dependenciesComments": { "@types/http-cache-semantics": "It needs to be in the dependencies list and not devDependencies because otherwise projects that use this one will be getting `Could not find a declaration file for module 'http-cache-semantics'` error when running `tsc`, see https://github.com/jaredwray/cacheable-request/issues/194 for details" }, "dependencies": { "@types/http-cache-semantics": "^4.2.0", "get-stream": "^9.0.1", "http-cache-semantics": "^4.2.0", "keyv": "^5.6.0", "mimic-response": "^4.0.0", "normalize-url": "^8.1.1", "responselike": "^4.0.2" }, "devDependencies": { "@keyv/sqlite": "^4.0.8", "@types/express": "^5.0.6", "@types/responselike": "^1.0.3", "body-parser": "^2.2.2", "delay": "^7.0.0", "express": "^5.2.1", "pify": "^6.1.0", "sqlite3": "^6.0.1", "tsup": "^8.5.1", "typescript": "^5.9.3" }, "scripts": { "lint": "biome check --write --error-on-warnings", "test": "pnpm lint && vitest run --coverage", "test:ci": "biome check --error-on-warnings && vitest run --coverage", "build": "rimraf ./dist && tsc --project tsconfig.build.json", "clean": "rimraf node_modules ./coverage ./test/testdb.sqlite ./dist" } }