UNPKG

@fastify/request-context

Version:

Request-scoped storage support, based on Asynchronous Local Storage, with fallback to cls-hooked for older Node versions

82 lines (81 loc) 2 kB
{ "name": "@fastify/request-context", "version": "6.2.0", "description": "Request-scoped storage support, based on Asynchronous Local Storage, with fallback to cls-hooked for older Node versions", "license": "MIT", "maintainers": [ { "name": "Igor Savin", "email": "kibertoad@gmail.com" } ], "main": "index.js", "type": "commonjs", "types": "types/index.d.ts", "scripts": { "test": "npm run test:unit && npm run test:typescript", "test:unit": "c8 --100 node --test", "test:typescript": "tsd", "lint": "eslint \"test/**/*.js\" \"test-tap/**/*.js\" index.js", "prettier": "prettier --write \"{lib,test,test-tap}/**/*.js\" index.js \"types/**/*.ts\"" }, "dependencies": { "fastify-plugin": "^5.0.0" }, "devDependencies": { "@fastify/pre-commit": "^2.1.0", "@types/node": "^22.0.0", "c8": "^10.1.3", "eslint": "^9.6.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.1.3", "fastify": "^5.0.0", "prettier": "^3.2.5", "superagent": "^10.0.0", "tsd": "^0.31.1" }, "homepage": "http://github.com/fastify/fastify-request-context", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fastify" }, { "type": "opencollective", "url": "https://opencollective.com/fastify" } ], "repository": { "type": "git", "url": "git://github.com/fastify/fastify-request-context.git" }, "bugs": { "url": "https://github.com/fastify/fastify-request-context/issues" }, "keywords": [ "fastify", "plugin", "request", "context", "http-context", "request-context", "fastify-http-context", "fastify-request-context", "asynchronouslocalstorage", "asynchronous-local-storage" ], "files": [ "README.md", "LICENSE", "lib/*", "index.js", "types/index.d.ts" ], "publishConfig": { "access": "public" }, "pre-commit": [ "lint", "test" ] }