@cacheable/net
Version:
High Performance Network Caching for Node.js with fetch, request, http 1.1, and http 2 support
79 lines • 2.03 kB
JSON
{
"name": "@cacheable/net",
"version": "2.0.0",
"description": "High Performance Network Caching for Node.js with fetch, request, http 1.1, and http 2 support",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaredwray/cacheable.git",
"directory": "packages/cacheable"
},
"author": "Jared Wray <me@jaredwray.com>",
"license": "MIT",
"private": false,
"devDependencies": {
"@biomejs/biome": "^2.2.4",
"@faker-js/faker": "^10.0.0",
"@types/http-cache-semantics": "^4.0.4",
"@types/node": "^24.5.2",
"@vitest/coverage-v8": "^3.2.4",
"rimraf": "^6.0.1",
"tsup": "^8.5.0",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"dependencies": {
"hookified": "^1.12.1",
"http-cache-semantics": "^4.2.0",
"undici": "^7.16.0",
"cacheable": "^2.0.3"
},
"keywords": [
"cacheable",
"http caching",
"fetch caching",
"request caching",
"http 1.1 caching",
"http 2 caching",
"dns caching",
"whois caching",
"high performance",
"layer 1 caching",
"layer 2 caching",
"distributed caching",
"keyv",
"expiration",
"CacheableMemory",
"distributed sync",
"secondary store",
"primary store",
"cache statistics",
"layered caching",
"fault tolerant",
"in-memory cache",
"distributed cache",
"lru",
"multi-tier cache"
],
"files": [
"dist",
"LICENSE"
],
"scripts": {
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepublish": "pnpm build",
"lint": "biome check --write --error-on-warnings",
"test": "pnpm lint && vitest run --coverage",
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
"clean": "rimraf ./dist ./coverage ./node_modules"
}
}