{"_id":"@crowlog/async-context-plugin","_rev":"10-174230a95869e3fc1a1192f22dc6a7a2","name":"@crowlog/async-context-plugin","dist-tags":{"latest":"2.1.1"},"versions":{"0.0.2":{"name":"@crowlog/async-context-plugin","version":"0.0.2","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@0.0.2","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"c3d0637086eb9c23d1bf7b3a9347a059965a50f0","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-0.0.2.tgz","fileCount":10,"integrity":"sha512-Rlf+/NN7K6PUO8dT/qu9A04tLAJdO8upz/978WLWZBNVf7x1YQs21te8NdZPbuM55qm+kzK+kkjqPYkSa9VSvw==","signatures":[{"sig":"MEQCIEOWjWl0KHuTRrW/Gx48tjg+KeNZ6moFQ+D4ZNXsvPnAAiASSRInbtRQFPWrUT9BHftlZNcwOQ/UDDXYPqiOCUuJww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14824},"main":"./dist/index.cjs","type":"module","_from":"file:crowlog-async-context-plugin-0.0.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"unbuild","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"},"_resolved":"/tmp/c06cd4850c87093c69357a5b50911ac2/crowlog-async-context-plugin-0.0.2.tgz","_integrity":"sha512-Rlf+/NN7K6PUO8dT/qu9A04tLAJdO8upz/978WLWZBNVf7x1YQs21te8NdZPbuM55qm+kzK+kkjqPYkSa9VSvw==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"10.9.2","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.13.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","eslint":"^9.10.0","vitest":"^3.0.5","unbuild":"^3.3.1","typescript":"^5.6.2","@types/node":"^22.5.4","@crowlog/logger":"0.0.2","@vitest/coverage-v8":"^3.0.2","@antfu/eslint-config":"^3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_0.0.2_1738884018702_0.3438458903169106","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@crowlog/async-context-plugin","version":"1.0.0","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@1.0.0","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"65a2f796eaf273f6fb0b03093dc5162469125735","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-1.0.0.tgz","fileCount":10,"integrity":"sha512-i35Sd16EJ/4Qkr21EfN+uBFqOm3aHhxkpdA9ZIvxydM+9uA9Da/FtwtxEhxxuj/ZlyONcabmcGqqULpuvUVNvQ==","signatures":[{"sig":"MEUCIQDJkC71JYVo/5TqMZf7/gu9XZ99ECNB1ROFmBRWBanNsgIgcag8Z9izvFJ1wyI0Boaw5o8sa7tsbvRwImPjBl+oSj0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14824},"main":"./dist/index.cjs","type":"module","_from":"file:crowlog-async-context-plugin-1.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"unbuild","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"},"_resolved":"/tmp/165e5ecadff426cc5751149660e2345a/crowlog-async-context-plugin-1.0.0.tgz","_integrity":"sha512-i35Sd16EJ/4Qkr21EfN+uBFqOm3aHhxkpdA9ZIvxydM+9uA9Da/FtwtxEhxxuj/ZlyONcabmcGqqULpuvUVNvQ==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"10.9.2","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.13.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","eslint":"^9.10.0","vitest":"^3.0.5","unbuild":"^3.3.1","typescript":"^5.6.2","@types/node":"^22.5.4","@crowlog/logger":"1.0.0","@vitest/coverage-v8":"^3.0.2","@antfu/eslint-config":"^3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_1.0.0_1738933021468_0.8522330520642882","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@crowlog/async-context-plugin","version":"1.0.1","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@1.0.1","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"36e8f40c9e438cb0b70688ae3d91d34ad284dcea","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-1.0.1.tgz","fileCount":10,"integrity":"sha512-MK1Q5WlhQ785PIUcBlS03UqcHbgq6jkTU53hTfXWoO1s6jYmHViAlqQpZoGPyQv3tl6kpbddurtOHlKtFYB9yw==","signatures":[{"sig":"MEUCIQCak1BY2Xld3TwDZUXtW+Fn3Ysd3q4GfMKHiY37K9pi7AIgOJjXRKaXDNCj/ln/d2VbEoqszLdkLQDhSWzp/+n01j8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14824},"main":"./dist/index.cjs","type":"module","_from":"file:crowlog-async-context-plugin-1.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"unbuild","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"},"_resolved":"/tmp/20bf1a1ed3aa0e4f7fbeee10983bc9a7/crowlog-async-context-plugin-1.0.1.tgz","_integrity":"sha512-MK1Q5WlhQ785PIUcBlS03UqcHbgq6jkTU53hTfXWoO1s6jYmHViAlqQpZoGPyQv3tl6kpbddurtOHlKtFYB9yw==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"10.9.2","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.13.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","eslint":"^9.10.0","vitest":"^3.0.5","unbuild":"^3.3.1","typescript":"^5.6.2","@types/node":"^22.5.4","@crowlog/logger":"1.0.1","@vitest/coverage-v8":"^3.0.2","@antfu/eslint-config":"^3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_1.0.1_1738940007268_0.8716498687729679","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@crowlog/async-context-plugin","version":"1.1.0","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@1.1.0","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"6dc2c2613ad6a58308eb62b0e4e4ebead0efbbfa","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-1.1.0.tgz","fileCount":10,"integrity":"sha512-J11vK4LdmlBNhwTb/GPVfrd151gAA2Nkaea3c87Ip0c+VuO3DVmoaCs8FvC0vBMxofEx5rYqPxDlXbtPZzI+Ow==","signatures":[{"sig":"MEUCIH0Us0GlY3yf28wkpIkG7WeCQYXwPiVfyAoJxCZOkIVxAiEA0MKHnLV9bfkjoCtgeaPlKAkRi1BCD4JPLxEQTVhxyUU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14824},"main":"./dist/index.cjs","type":"module","_from":"file:crowlog-async-context-plugin-1.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"unbuild","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"},"_resolved":"/tmp/211cf73012630a5e1b29fcd6671d6afe/crowlog-async-context-plugin-1.1.0.tgz","_integrity":"sha512-J11vK4LdmlBNhwTb/GPVfrd151gAA2Nkaea3c87Ip0c+VuO3DVmoaCs8FvC0vBMxofEx5rYqPxDlXbtPZzI+Ow==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"10.9.2","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.13.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","eslint":"^9.10.0","vitest":"^3.0.5","unbuild":"^3.3.1","typescript":"^5.6.2","@types/node":"^22.5.4","@crowlog/logger":"1.1.0","@vitest/coverage-v8":"^3.0.2","@antfu/eslint-config":"^3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_1.1.0_1739123663701_0.587745167843102","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@crowlog/async-context-plugin","version":"1.1.1","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@1.1.1","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"469432e00f5a70447fa9af1e53ce20eb41c6e578","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-1.1.1.tgz","fileCount":10,"integrity":"sha512-rBNOIDPvnDeQ+tIrj9LQQo0TJZEFlscp1kl0y3bPsj6nnb+tC+4jhhqf1O35ac5GEAWAtPj6kdo/myqjhvurxA==","signatures":[{"sig":"MEUCIQDSNzhUVgjr9NzBVYipbhdX42AJCqIQsUytdLgwjKIQdwIgClsbGsvDSaVtWqlZNr8qWXRkwRyMG4EdsW7KXYeaAXI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14824},"main":"./dist/index.cjs","type":"module","_from":"file:crowlog-async-context-plugin-1.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"unbuild","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"},"_resolved":"/tmp/f3de4f7a0391f46a4508a68b7a48d5f1/crowlog-async-context-plugin-1.1.1.tgz","_integrity":"sha512-rBNOIDPvnDeQ+tIrj9LQQo0TJZEFlscp1kl0y3bPsj6nnb+tC+4jhhqf1O35ac5GEAWAtPj6kdo/myqjhvurxA==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"10.9.2","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.13.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","eslint":"^9.10.0","vitest":"^3.0.5","unbuild":"^3.3.1","typescript":"^5.6.2","@types/node":"^22.5.4","@crowlog/logger":"1.1.1","@vitest/coverage-v8":"^3.0.2","@antfu/eslint-config":"^3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_1.1.1_1739129189265_0.5232496222244989","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@crowlog/async-context-plugin","version":"1.2.0","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@1.2.0","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"6deb8c1df0ae786fff5a713b1aaf9e4c5c6b2758","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-1.2.0.tgz","fileCount":10,"integrity":"sha512-ENfE5FvmrHi3ul82DKzI94FyXg/Fd7ja3jRNbxpR5/sin8DFOaVYfzWDkbIGXVfzyEpRdU4yYETaKmLq3foCZQ==","signatures":[{"sig":"MEUCIEQwxGHwu4RGy0eD6Ffhh2S6JMCYps09aJaGo7Hk0V3XAiEA4h5ewp8g3IlJda0MDYC/4SoGNYK+IVz5pIUi0raRPiY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14824},"main":"./dist/index.cjs","type":"module","_from":"file:crowlog-async-context-plugin-1.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"unbuild","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"},"_resolved":"/tmp/8a5dba1222f0dd01bccd8d07c121ce2b/crowlog-async-context-plugin-1.2.0.tgz","_integrity":"sha512-ENfE5FvmrHi3ul82DKzI94FyXg/Fd7ja3jRNbxpR5/sin8DFOaVYfzWDkbIGXVfzyEpRdU4yYETaKmLq3foCZQ==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"10.9.2","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","eslint":"^9.10.0","vitest":"^3.0.5","unbuild":"^3.3.1","typescript":"^5.6.2","@types/node":"^22.5.4","@crowlog/logger":"1.2.0","@vitest/coverage-v8":"^3.0.2","@antfu/eslint-config":"^3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_1.2.0_1745185675482_0.0818738826295089","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@crowlog/async-context-plugin","version":"1.2.1","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@1.2.1","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"739514ca9363bb0ab020adab9e4963180599983c","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-1.2.1.tgz","fileCount":10,"integrity":"sha512-pvr1zrEu2wqqdx3H/z/wNtULdoe3ZO3eNElphg7hwuQUHMXtXiX2qzy1x9EUG8FbiJLEdU35aDIq90j5ks+pFQ==","signatures":[{"sig":"MEYCIQDMDk8GnS4hsmMMNF3SycXaTXC9wjF9hGnTq1LYCjZyzAIhAM7H9dpuWk9mMH1X035l0JJ+cWOpTYw7dmcQ4w3Rxl6l","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14824},"main":"./dist/index.cjs","type":"module","_from":"file:crowlog-async-context-plugin-1.2.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"unbuild","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"},"_resolved":"/tmp/4ae5d0e59a2f71fa6369a8955af33812/crowlog-async-context-plugin-1.2.1.tgz","_integrity":"sha512-pvr1zrEu2wqqdx3H/z/wNtULdoe3ZO3eNElphg7hwuQUHMXtXiX2qzy1x9EUG8FbiJLEdU35aDIq90j5ks+pFQ==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"10.9.2","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","eslint":"^9.10.0","vitest":"^3.0.5","unbuild":"^3.3.1","typescript":"^5.6.2","@types/node":"^22.5.4","@crowlog/logger":"1.2.1","@vitest/coverage-v8":"^3.0.2","@antfu/eslint-config":"^3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_1.2.1_1745227252825_0.9765871030379809","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@crowlog/async-context-plugin","version":"2.0.0","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@2.0.0","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"073dc18561209e22a5516bb97d4d3e7f7f5678e6","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-2.0.0.tgz","fileCount":5,"integrity":"sha512-nlzv+dXfWxuY2/O05m05YT/1e5u/x/EKF1HnHdNJVDUI7OUs4ZrNF1jsKP9GnNoApaXNnYiPrDBlYcH80DkDPw==","signatures":[{"sig":"MEUCICziCX0odbpUA0XBqUQHTHDn5p9eje6pPQi9uAoPpUOBAiEA3v46q2XXiz9pFaTLSpj8eqZrjA3ZTjAgIeMZ0TWuRG4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6819},"main":"./dist/index.js","type":"module","_from":"file:crowlog-async-context-plugin-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsdown","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7e0f0cfb-ffd6-4d82-9429-c53c6c256199"}},"_resolved":"/tmp/f089dedff516f07bb51422dc87f72d7e/crowlog-async-context-plugin-2.0.0.tgz","_integrity":"sha512-nlzv+dXfWxuY2/O05m05YT/1e5u/x/EKF1HnHdNJVDUI7OUs4ZrNF1jsKP9GnNoApaXNnYiPrDBlYcH80DkDPw==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"11.6.1","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.19.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.19.2","eslint":"9.19.0","tsdown":"0.15.6","vitest":"3.2.4","typescript":"5.7.3","@types/node":"22.13.1","@crowlog/logger":"2.0.0","@vitest/coverage-v8":"3.2.4","@antfu/eslint-config":"3.16.0"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_2.0.0_1759249617376_0.18450892160748045","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@crowlog/async-context-plugin","version":"2.1.0","keywords":["logger","logging","async","context","plugin"],"author":{"url":"https://corentin.tech","name":"Corentin Thomasset","email":"corentinth@proton.me"},"license":"MIT","_id":"@crowlog/async-context-plugin@2.1.0","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"homepage":"https://github.com/CorentinTh/crowlog/tree/main/packages/async-context-plugin","bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"dist":{"shasum":"5228078e13ac658440a3297cdb5d22295270f255","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-2.1.0.tgz","fileCount":5,"integrity":"sha512-sf7gig7RonFvGPxPBrZqdJwI+NMbVcu4mJtCkqyk5pqvl1ZbY02Jv7YnfMs8gUtrq/2MsZUaoXA5UdSyCkNv0g==","signatures":[{"sig":"MEYCIQCzu1NoDHkRKz0om8DMFCbGyQVUij4TLzN6TO8PQXualgIhANqoptSdxfQFm9kO+eZkoCO5rx2IWBVG60HcSlH+VpoC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6903},"main":"./dist/index.js","type":"module","_from":"file:crowlog-async-context-plugin-2.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.0.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsdown","lint:fix":"eslint --fix .","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7e0f0cfb-ffd6-4d82-9429-c53c6c256199"}},"_resolved":"/tmp/f972f54a38a80583235006fb859dee09/crowlog-async-context-plugin-2.1.0.tgz","_integrity":"sha512-sf7gig7RonFvGPxPBrZqdJwI+NMbVcu4mJtCkqyk5pqvl1ZbY02Jv7YnfMs8gUtrq/2MsZUaoXA5UdSyCkNv0g==","repository":{"url":"git+https://github.com/CorentinTh/crowlog.git","type":"git"},"_npmVersion":"11.6.4","description":"Crowlog async context plugin.","directories":{},"_nodeVersion":"22.21.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.19.2","eslint":"9.19.0","tsdown":"0.15.6","vitest":"3.2.4","typescript":"5.7.3","@types/node":"22.13.1","@crowlog/logger":"2.1.0","@vitest/coverage-v8":"3.2.4","@antfu/eslint-config":"3.16.0"},"_npmOperationalInternal":{"tmp":"tmp/async-context-plugin_2.1.0_1764546284037_0.9866210522411718","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@crowlog/async-context-plugin","type":"module","version":"2.1.1","description":"Request-scoped logging context plugin for Crowlog using Node.js AsyncLocalStorage. Perfect for tracking request IDs and user context across async operations.","author":{"name":"Corentin Thomasset","email":"corentinth@proton.me","url":"https://corentin.tech"},"license":"MIT","homepage":"https://crowlog.dev/plugins/async-context","documentation":"https://crowlog.dev/plugins/async-context","repository":{"type":"git","url":"git+https://github.com/CorentinTh/crowlog.git","directory":"packages/async-context-plugin"},"bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"keywords":["crowlog","logger","logging","async","context","plugin","asynclocalstorage","request-id","tracing","correlation-id"],"exports":{".":"./dist/index.js","./package.json":"./package.json"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"dependencies":{},"devDependencies":{"@antfu/eslint-config":"6.7.3","@types/node":"22.13.1","@vitest/coverage-v8":"4.0.16","eslint":"9.39.2","tsdown":"0.15.12","tsx":"4.21.0","typescript":"5.9.3","vitest":"4.0.16","@crowlog/logger":"2.2.1"},"scripts":{"build":"tsdown","lint":"eslint .","lint:fix":"eslint --fix .","test":"vitest run","test:watch":"vitest watch","typecheck":"tsc --noEmit"},"_id":"@crowlog/async-context-plugin@2.1.1","_integrity":"sha512-WNeYcSWOjFdHKx3YHXPJjXhzXZFoZcUZhmrNFKN6gtbJ/pMvziAEVLcf32vAGR+JbANGdTtKszyxXl2wXGpYfA==","_resolved":"/tmp/b3fd37e96f502d065b1548b325f99308/crowlog-async-context-plugin-2.1.1.tgz","_from":"file:crowlog-async-context-plugin-2.1.1.tgz","_nodeVersion":"22.21.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-WNeYcSWOjFdHKx3YHXPJjXhzXZFoZcUZhmrNFKN6gtbJ/pMvziAEVLcf32vAGR+JbANGdTtKszyxXl2wXGpYfA==","shasum":"7dc3539f849023fbeea5e448fbac373554d605fb","tarball":"https://registry.npmjs.org/@crowlog/async-context-plugin/-/async-context-plugin-2.1.1.tgz","fileCount":5,"unpackedSize":7206,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@crowlog%2fasync-context-plugin@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB4enTzZM4YQ1AbXcKAfzACHSim/3bHPmMWQ38/7enj/AiB7nSXrziFXngk6waaf/LqI7XdocbPUhFEjBTcj3BwNxA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7e0f0cfb-ffd6-4d82-9429-c53c6c256199"}},"directories":{},"maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/async-context-plugin_2.1.1_1767312594179_0.6938011650741949"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-06T23:20:18.611Z","modified":"2026-01-02T00:09:54.688Z","0.0.2":"2025-02-06T23:20:18.936Z","1.0.0":"2025-02-07T12:57:01.676Z","1.0.1":"2025-02-07T14:53:27.416Z","1.1.0":"2025-02-09T17:54:23.872Z","1.1.1":"2025-02-09T19:26:29.520Z","1.2.0":"2025-04-20T21:47:55.657Z","1.2.1":"2025-04-21T09:20:52.980Z","2.0.0":"2025-09-30T16:26:57.690Z","2.1.0":"2025-11-30T23:44:44.245Z","2.1.1":"2026-01-02T00:09:54.323Z"},"bugs":{"url":"https://github.com/CorentinTh/crowlog/issues"},"author":{"name":"Corentin Thomasset","email":"corentinth@proton.me","url":"https://corentin.tech"},"license":"MIT","homepage":"https://crowlog.dev/plugins/async-context","keywords":["crowlog","logger","logging","async","context","plugin","asynclocalstorage","request-id","tracing","correlation-id"],"repository":{"type":"git","url":"git+https://github.com/CorentinTh/crowlog.git","directory":"packages/async-context-plugin"},"description":"Request-scoped logging context plugin for Crowlog using Node.js AsyncLocalStorage. Perfect for tracking request IDs and user context across async operations.","maintainers":[{"name":"corentinth","email":"corentin.thomasset74+npm@gmail.com"}],"readme":"# Crowlog - Async Context Plugin\n\nThis package is a plugin for the [Crowlog logger](https://github.com/CorentinTh/crowlog). It allows to simply add context data to the logs using node async context.\nIt's useful in http servers to add log context that follow the lifecycle of a request (like a request id or user id).\n\n> [!IMPORTANT]\n> This plugin is only available environment that supports `async_hooks` like Node.js or [cloudflare workers with compatibility flags](https://developers.cloudflare.com/workers/runtime-apis/nodejs/asynclocalstorage).\n\n\n## Installation\n\n```bash\n// pnpm \npnpm install @crowlog/logger @crowlog/async-context-plugin\n\n// npm\nnpm install @crowlog/logger @crowlog/async-context-plugin\n\n// yarn\nyarn add @crowlog/logger @crowlog/async-context-plugin\n```\n\n## Usage\n\nUse the plugin by first creating a logger with the plugin:\n\n```typescript\nimport { createLogger } from '@crowlog/logger';\nimport { createAsyncContextPlugin, addLogContext, wrapWithLoggerContext } from '@crowlog/async-context-plugin';\n\nconst logger = createLogger({ namespace: 'my-app', plugins: [createAsyncContextPlugin()] });\n\n// create a context, some initial context data can be added\nwrapWithLoggerContext({ requestId: '123' }, () => {\n  addLogContext({ userId: '123' });\n\n  // logs within the context will have the requestId and userId\n  logger.info('Hello world');\n});\n```\n\n## Examples\n\n### Hono JS\n\n```typescript\nimport { createMiddleware } from 'hono';\nimport { addLogContext, wrapWithLoggerContext } from '@crowlog/async-context-plugin';\n\nconst loggerMiddleware = createMiddleware(async (context, next) => {\n  const requestId = getHeader({ context, name: 'x-request-id' }) ?? generateId();\n\n  await wrapWithLoggerContext({ requestId }, next);\n});\n\nconst authMiddleware = createMiddleware(async (context, next) => {\n  const userId = /* get the user id from your auth layer */;\n\n  addLogContext({ userId });\n\n  await next();\n});\n```\n\n```typescript\nimport { Hono } from 'hono';\nimport { createLogger } from '@crowlog/logger';\nimport { createAsyncContextPlugin } from '@crowlog/async-context-plugin';\n\nconst app = new Hono();\nconst logger = createLogger({ namespace: 'my-app', plugins: [createAsyncContextPlugin()] });\n\napp.use(loggerMiddleware);\napp.use(authMiddleware);\n\napp.get('/', (c) => {\n  // logs will have the requestId and userId\n  logger.info('Request received');\n\n  return c.json({ message: 'Hello World' });\n});\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for more information.\n\n## Credits \n\nThis project is crafted with ❤️ by [Corentin Thomasset](https://corentin.tech).\nIf you find this project helpful, please consider [supporting my work](https://buymeacoffee.com/cthmsst).\n\n\n\n\n\n\n\n \n\n\n\n","readmeFilename":"README.md"}