koa-redis-cache
Version:
a middleware for koa to cache response with redis.
39 lines (38 loc) • 939 B
JSON
{
"name": "koa-redis-cache",
"version": "3.0.3",
"description": "a middleware for koa to cache response with redis.",
"main": "index.js",
"scripts": {
"test": "mocha -R spec -t 5000 test/*.js --exit",
"test-cov": "istanbul cover node_modules/.bin/_mocha -- -R dot -t 5000 test/*.js --exit",
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R dot -t 5000 test/*.js --exit"
},
"repository": "coderhaoxin/koa-redis-cache",
"keywords": [
"middleware",
"response",
"redis",
"cache",
"koa"
],
"author": "haoxin",
"license": "MIT",
"files": [
"index.js",
"Readme.md"
],
"dependencies": {
"co-redis": "^2.1.1",
"path-to-regexp": "^6.1.0",
"readall": "^1.1.0",
"redis": "^2.8.0"
},
"devDependencies": {
"istanbul": "^0.4.5",
"koa": "^2.11.0",
"mocha": "^7.0.1",
"should": "^13.2.3",
"supertest": "^4.0.2"
}
}