koa-etag
Version:
Koa ETag support middleware
73 lines (72 loc) • 1.61 kB
JSON
{
"name": "koa-etag",
"version": "5.0.0",
"description": "Koa ETag support middleware",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup",
"lint": "xo",
"lint:fix": "xo --fix",
"pretest": "yarn run lint",
"test": "jest --detectOpenHandles",
"test-ci": "npm run test -- --coverage",
"prepublishOnly": "npm run build"
},
"keywords": [
"koa",
"middleware",
"cache",
"caching",
"etag",
"file",
"static",
"sendfile"
],
"license": "MIT",
"peerDependencies": {
"koa": ">= 2"
},
"dependencies": {
"@types/etag": "^1.8.3",
"etag": "^1.8.1"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/koa": "^2.13.6",
"@types/lodash.merge": "^4.6.7",
"@types/node": "^18.15.11",
"@types/supertest": "^6.0.3",
"@types/type-is": "^1.6.3",
"eslint-config-xo-lass": "^2.0.1",
"husky": "^9.1.7",
"jest": "^29.5.0",
"koa": "3",
"supertest": "^7.1.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsup": "^8.5.0",
"typescript": "^5.0.3",
"xo": "^0.60.0"
},
"enignes": {
"node": ">=18"
},
"repository": "koajs/etag",
"bugs": {
"url": "https://github.com/koajs/etag/issues"
},
"homepage": "https://github.com/koajs/etag#readme"
}