@dalet-oss/express-http-context
Version:
Modern request-scoped storage support for Express.js based on Asynchronous Local Storage.
106 lines (105 loc) • 3.55 kB
JSON
{
"name": "@dalet-oss/express-http-context",
"version": "1.2.6",
"description": "Modern request-scoped storage support for Express.js based on Asynchronous Local Storage.",
"author": {
"name": "Dalet OSS",
"url": "https://github.com/dalet-oss"
},
"contributors": [
{
"name": "Oliver Lockwood",
"url": "https://github.com/oliverlockwood"
},
{
"name": "Alberto Varela",
"email": "hello@albertovarela.net",
"url": "https://www.albertovarela.net"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/dalet-oss/express-http-context.git"
},
"bugs": {
"url": "https://github.com/dalet-oss/express-http-context/issues"
},
"homepage": "https://github.com/dalet-oss/express-http-context",
"license": "MIT",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"default": "./lib/cjs/index.js"
}
},
"engines": {
"node": ">=14.0.0"
},
"files": [
"lib",
"src",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "yarn clean && yarn compile",
"clean": "rm -rf lib/ .nyc_output/ coverage/",
"compile": "concurrently \"yarn compile:cjs\" \"yarn compile:esm\" \"yarn compile:types\" && ./scripts/fixup.sh",
"compile:cjs": "tsc -p tsconfig.cjs.json",
"compile:esm": "tsc -p tsconfig.esm.json",
"compile:types": "tsc -p tsconfig.types.json",
"coverage:html": "tap --coverage-report=html",
"coverage:cobertura": "tap --coverage-report=cobertura",
"hook:commit-msg": "commitlint -e",
"hook:pre-commit": "yarn qa",
"lint": "eslint .",
"prepack": "yarn qa && yarn build",
"qa": "yarn lint && yarn type-check && yarn test",
"test": "yarn clean && TS_NODE_PROJECT=tsconfig.json tap --node-arg=--require=ts-node/register",
"test:watch": "TS_NODE_PROJECT=tsconfig.json tap --node-arg=--require=ts-node/register --watch",
"type-check": "tsc -p tsconfig.json --noEmit"
},
"keywords": [
"express",
"middleware",
"plugin",
"request",
"context",
"http-context",
"request-context",
"express-http-context",
"express-request-context",
"asynchronouslocalstorage",
"asynchronous-local-storage"
],
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@oliverlockwood/express-http-context-intermediate-library": "0.0.5",
"@types/express": "^4.17.23",
"@types/node": "^24.7.2",
"@types/supertest": "^6.0.3",
"@types/tap": "^15.0.12",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"concurrently": "^9.2.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.2",
"eslint-plugin-import": "^2.32.0",
"express": "^4.21.2",
"nanoid": "5.1.6",
"prettier": "^3.6.2",
"supertest": "^7.1.4",
"tap": "^16.3.10",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"resolutions": {
"form-data": "^4.0.4"
}
}