@ladjs/koa-cache-responses
Version:
Caching middleware for Koa using koa-cash and route pattern-based matching with path-to-regexp. Made for Lad.
105 lines (104 loc) • 2.31 kB
JSON
{
"name": "@ladjs/koa-cache-responses",
"description": "Caching middleware for Koa using koa-cash and route pattern-based matching with path-to-regexp. Made for Lad.",
"version": "1.0.0",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"bugs": {
"url": "https://github.com/ladjs/koa-cache-responses/issues",
"email": "niftylettuce@gmail.com"
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
],
"dependencies": {
"lodash": "^4.17.21",
"ms": "^2.1.3",
"path-to-regexp": "^6.1.0"
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@ladjs/redis": "^1.1.1",
"ava": "^5.2.0",
"cross-env": "^7.0.3",
"eslint": "^8.55.0",
"eslint-config-xo-lass": "^2.0.1",
"fast-safe-stringify": "^2.1.1",
"fixpack": "^4.0.0",
"husky": "^9.1.7",
"koa": "^2.15.4",
"koa-cash": "^5.0.0",
"lint-staged": "^15.4.3",
"node-cache": "^5.1.2",
"nyc": "^17.1.0",
"remark-cli": "11.0.0",
"remark-preset-github": "^4.0.4",
"supertest": "^4.0.2",
"xo": "0.56.0"
},
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/ladjs/koa-cache-responses",
"keywords": [
"alternative",
"asset",
"assets",
"cache",
"caching",
"cash",
"cdn",
"cloudfront",
"content",
"css",
"delivery",
"file",
"hash",
"http",
"image",
"images",
"img",
"in-memory",
"ioredis",
"javascript",
"js",
"koa",
"lad",
"lass",
"memory",
"middleware",
"modified",
"mongo",
"mongoose",
"network",
"redis",
"responses",
"rev",
"revision",
"s3",
"script",
"scripts",
"serve",
"server",
"static",
"storage",
"store"
],
"license": "MIT",
"main": "index.js",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/ladjs/koa-cache-responses"
},
"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"
}
}