UNPKG

apicache

Version:

An ultra-simplified API response caching middleware for Express/Node using plain-english durations.

61 lines (60 loc) 1.48 kB
{ "name": "apicache", "version": "1.6.3", "scripts": { "lint": "eslint .", "pretest": "npm run lint", "test": "nyc mocha $(find test -name '*.test.js') --recursive", "test:watch": "npm run test -- --watch", "coverage": "nyc report --reporter=text-lcov | coveralls", "prepublish": "npm run test" }, "engines": { "node": ">=8" }, "description": "An ultra-simplified API response caching middleware for Express/Node using plain-english durations.", "main": "./src/apicache.js", "repository": { "type": "git", "url": "https://github.com/kwhitley/apicache.git" }, "keywords": [ "cache", "API", "redis", "memcache", "response", "express", "JSON", "duration", "middleware", "memory" ], "author": "Kevin R. Whitley <krwhitley@gmail.com> (http://krwhitley.com)", "license": "MIT", "bugs": { "url": "https://github.com/kwhitley/apicache/issues", "email": "krwhitley@gmail.com" }, "devDependencies": { "chai": "^4.2.0", "compression": "^1.7.4", "coveralls": "^3.0.6", "eslint": "^4.18.0", "express": "^4.17.1", "fakeredis": "^2.0.0", "husky": "^3.0.4", "mocha": "^7.0.0", "nyc": "^13.3.0", "prettier": "^1.18.2", "pretty-quick": "^1.11.1", "restify": "^7.7.0", "restify-etag-cache": "^1.0.12", "supertest": "^4.0.2" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged && npm run test" } } }