UNPKG

koa-cash

Version:

HTTP response caching for Koa. HTTP response caching for Koa. Supports Redis, in-memory store, and more!

118 lines (117 loc) 2.52 kB
{ "name": "koa-cash", "description": "HTTP response caching for Koa. HTTP response caching for Koa. Supports Redis, in-memory store, and more!", "version": "5.0.0", "author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", "bugs": { "url": "https://github.com/koajs/cash/issues", "email": "me@jongleberry.com" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "contributors": [ "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)" ], "dependencies": { "bytes": "^3.1.2", "compressible": "^2.0.18", "fast-safe-stringify": "^2.1.1", "get-stream": "^5.1.0", "is-stream": "^2.0.0", "koa-is-json": "^1.0.0" }, "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", "ava": "^5.2.0", "cross-env": "^7.0.3", "eslint": "^8.55.0", "eslint-config-xo-lass": "^2.0.1", "fixpack": "^4.0.0", "husky": "^9.1.4", "into-stream": "5.1.1", "koa": "^2.15.4", "lint-staged": "^15.2.8", "lru-cache": "4.x", "nyc": "^17.0.0", "remark-cli": "11.0.0", "remark-preset-github": "^4.0.4", "supertest": "^7.0.0", "xo": "0.56.0" }, "engines": { "node": ">=18" }, "files": [ "index.js" ], "homepage": "https://github.com/koajs/cash", "keywords": [ "alternative", "amazon", "aws", "cache", "caching", "cdn", "cloudfront", "content", "database", "db", "delivery", "handler", "hosting", "http", "in-memory", "ioredis", "key", "koa", "memory", "middleware", "network", "provider", "redis", "response", "responses", "s3", "sentinel", "serve", "server", "service", "session", "sessions", "space", "spaces", "static", "storage", "value" ], "license": "MIT", "main": "index.js", "nyc": { "check-coverage": true, "lines": 93, "functions": 100, "branches": 69, "reporter": [ "lcov", "html", "text" ] }, "repository": { "type": "git", "url": "https://github.com/koajs/cash" }, "scripts": { "ava": "cross-env NODE_ENV=test ava", "lint": "xo --fix && remark . -qfo && fixpack", "nyc": "cross-env NODE_ENV=test nyc ava", "prepare": "husky install", "pretest": "npm run lint", "test": "npm run nyc" } }