cacheable-request
Version:
Wrap native HTTP requests with RFC compliant cache support
71 lines • 2.14 kB
JSON
{
"name": "cacheable-request",
"version": "13.0.18",
"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.0.4",
"get-stream": "^9.0.1",
"http-cache-semantics": "^4.2.0",
"keyv": "^5.5.5",
"mimic-response": "^4.0.0",
"normalize-url": "^8.1.1",
"responselike": "^4.0.2"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@keyv/sqlite": "^4.0.6",
"@types/express": "^5.0.6",
"@types/node": "^25.0.3",
"@types/responselike": "^1.0.3",
"@vitest/coverage-v8": "^4.0.16",
"body-parser": "^2.2.2",
"delay": "^7.0.0",
"express": "^5.2.1",
"pify": "^6.1.0",
"rimraf": "^6.1.0",
"sqlite3": "^5.1.7",
"tsup": "^8.5.0",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
},
"scripts": {
"lint": "biome check --write --error-on-warnings",
"test": "pnpm lint && vitest run --coverage",
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
"prepublish": "pnpm run build",
"build": "rimraf ./dist && tsc --project tsconfig.build.json",
"clean": "rimraf node_modules ./coverage ./test/testdb.sqlite ./dist"
}
}