{"_id":"@aegislog/express","_rev":"8-254a227424d9490dc35f7dbcd7aec7de","name":"@aegislog/express","dist-tags":{"latest":"0.2.6"},"versions":{"0.1.0":{"name":"@aegislog/express","version":"0.1.0","author":{"name":"Syed Muzamil","email":"syedmuzamilm@users.noreply.github.com"},"license":"MIT","_id":"@aegislog/express@0.1.0","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"homepage":"https://github.com/syedmuzamilm/aegislog#readme","bugs":{"url":"https://github.com/syedmuzamilm/aegislog/issues"},"dist":{"shasum":"003d14f3da408a3a055cc9b7aeca9b6758f2d07b","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.1.0.tgz","fileCount":8,"integrity":"sha512-S9bTrtJLWRWaLjnuwiqgMpFjv7OxCpvJ48Jxz6t+R2j136pHfIpBhVrWY9Bzw+y05AtxahYuzBidteTj1WJs+A==","signatures":[{"sig":"MEYCIQDfz995BsC6iu+wEttzXpCD/hf46DNxsqzvVo3V1mGv1AIhAK33BOl/WGk8vpy3tSkSV7hK0i9epFizqCdTg8P6Djjr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17354},"main":"./dist/index.cjs","type":"module","_from":"file:aegislog-express-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"_resolved":"/private/var/folders/sq/7sjt760s67v1mr3598d_3rr00000gn/T/46aae65c57f0539836d3149c132d90a1/aegislog-express-0.1.0.tgz","_integrity":"sha512-S9bTrtJLWRWaLjnuwiqgMpFjv7OxCpvJ48Jxz6t+R2j136pHfIpBhVrWY9Bzw+y05AtxahYuzBidteTj1WJs+A==","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"_npmVersion":"11.17.0","description":"Express middleware adapter for AegisLog.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"aegislog":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express_0.1.0_1786984088166_0.7561374228139355","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aegislog/express","version":"0.1.1","author":{"name":"Syed Muzamil","email":"syedmuzamilm@users.noreply.github.com"},"license":"MIT","_id":"@aegislog/express@0.1.1","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"homepage":"https://github.com/syedmuzamilm/aegislog#readme","bugs":{"url":"https://github.com/syedmuzamilm/aegislog/issues"},"dist":{"shasum":"d08e7af6d1eead047fc193f4e98b82b34330ee73","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.1.1.tgz","fileCount":8,"integrity":"sha512-nK0qr5OmH4vWb6mK1qv4w7Pbs8LeGm+5LUwz6BNDJo0+lbG2kod6m+fsVOI8HO/y7xMOmu9vD+Rny5GfMHPnAg==","signatures":[{"sig":"MEQCICIn0m+h3J/qAexYa71NTcX/uxQSx6SrBRgbRWwyQBzFAiBuxebuYr/8TV84eQRKM1QyS6OJTc2aB+ZjcDKFGSSIrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17354},"main":"./dist/index.cjs","type":"module","_from":"file:aegislog-express-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"_resolved":"/private/var/folders/sq/7sjt760s67v1mr3598d_3rr00000gn/T/cee9ac9905947cd8fca7d8efbf2ad67f/aegislog-express-0.1.1.tgz","_integrity":"sha512-nK0qr5OmH4vWb6mK1qv4w7Pbs8LeGm+5LUwz6BNDJo0+lbG2kod6m+fsVOI8HO/y7xMOmu9vD+Rny5GfMHPnAg==","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"_npmVersion":"11.17.0","description":"Express middleware adapter for AegisLog.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"aegislog":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express_0.1.1_1786986514480_0.04638244531774993","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@aegislog/express","version":"0.2.1","author":{"name":"Syed Muzamil","email":"syedmuzamilm@users.noreply.github.com"},"license":"MIT","_id":"@aegislog/express@0.2.1","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"homepage":"https://github.com/syedmuzamilm/aegislog#readme","bugs":{"url":"https://github.com/syedmuzamilm/aegislog/issues"},"dist":{"shasum":"b4942da9e0fa917d9ec6195bd058765eae186d24","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.2.1.tgz","fileCount":8,"integrity":"sha512-t/6j2Pik6PfwEj9yY8pqBOTjrXOSg20XQTD1OyJNLLL5sngki1twLnlECQaUDvBXH5fP/tDu1gjjkDUKlLH84Q==","signatures":[{"sig":"MEYCIQDPPwbpME8b7JLYTI2PzMyTJAt/WO+/SmBsrg6W76c3gwIhANa2/MXgYDmCdcFLexqnPYOQCqsy2KMt/6xHT6WErw6H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17000},"main":"./dist/index.cjs","type":"module","_from":"file:aegislog-express-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"_resolved":"/private/var/folders/sq/7sjt760s67v1mr3598d_3rr00000gn/T/13136a94541f211a5d5e7105c6ba1a4f/aegislog-express-0.2.1.tgz","_integrity":"sha512-t/6j2Pik6PfwEj9yY8pqBOTjrXOSg20XQTD1OyJNLLL5sngki1twLnlECQaUDvBXH5fP/tDu1gjjkDUKlLH84Q==","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"_npmVersion":"11.17.0","description":"Express middleware adapter for AegisLog.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"aegislog":"0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express_0.2.1_1787027258865_0.01717972337833107","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@aegislog/express","version":"0.2.2","author":{"name":"Syed Muzamil","email":"syedmuzamilm@users.noreply.github.com"},"license":"MIT","_id":"@aegislog/express@0.2.2","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"homepage":"https://github.com/syedmuzamilm/aegislog#readme","bugs":{"url":"https://github.com/syedmuzamilm/aegislog/issues"},"dist":{"shasum":"468d574a3256b858b6dc8e92ae9de3f7ce032f03","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.2.2.tgz","fileCount":9,"integrity":"sha512-ST/cKkcwwH1c22Kh6qJcijaKdh0gsEbHhI3NZQ0vkv94MAQy6P6zYAbckSbJlDgpaN0eL7SLB0d6uheIOvmeLA==","signatures":[{"sig":"MEQCIBIaUsPe6sm1xo8TjE12S6wXqqKkg/0qgYy7inxsImY9AiBnSSFIRIJgTiUatavgKEm1t2YKdsNzIvZ1LyJshNBXkw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19549},"main":"./dist/index.cjs","type":"module","_from":"file:aegislog-express-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"_resolved":"/private/var/folders/sq/7sjt760s67v1mr3598d_3rr00000gn/T/dc00cfd8e8209bdde285a3d3ef544a85/aegislog-express-0.2.2.tgz","_integrity":"sha512-ST/cKkcwwH1c22Kh6qJcijaKdh0gsEbHhI3NZQ0vkv94MAQy6P6zYAbckSbJlDgpaN0eL7SLB0d6uheIOvmeLA==","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"_npmVersion":"11.17.0","description":"Express middleware adapter for AegisLog.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"aegislog":"0.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express_0.2.2_1787028101957_0.09458661256977563","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@aegislog/express","version":"0.2.3","author":{"name":"Syed Muzamil","email":"syedmuzamilm@users.noreply.github.com"},"license":"MIT","_id":"@aegislog/express@0.2.3","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"homepage":"https://github.com/syedmuzamilm/aegislog#readme","bugs":{"url":"https://github.com/syedmuzamilm/aegislog/issues"},"dist":{"shasum":"070551affbca89bf5949699a7f77e7dbce18d414","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.2.3.tgz","fileCount":9,"integrity":"sha512-qjYcoAOMNBuyUEjP5lOC9myufN6jMLDvZVb3uObZLt1jaxUsHBsMSP9BlKIuSrrqDrtO7WD4JjP4RkGpT21eMg==","signatures":[{"sig":"MEQCIC/820hlaX2Yfn9ZP0O/a4E+p/mvz11dS1gj4sulNwqoAiA6ZTysUEvGQO6I2eAK02qbIPmL9OQrGaMi1CAWqMiSog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19549},"main":"./dist/index.cjs","type":"module","_from":"file:aegislog-express-0.2.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"_resolved":"/private/var/folders/sq/7sjt760s67v1mr3598d_3rr00000gn/T/8387775f873f5ed33789d89a32c7e124/aegislog-express-0.2.3.tgz","_integrity":"sha512-qjYcoAOMNBuyUEjP5lOC9myufN6jMLDvZVb3uObZLt1jaxUsHBsMSP9BlKIuSrrqDrtO7WD4JjP4RkGpT21eMg==","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"_npmVersion":"11.17.0","description":"Express middleware adapter for AegisLog.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"aegislog":"0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express_0.2.3_1787549133079_0.33052557271867133","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@aegislog/express","version":"0.2.4","author":{"name":"Syed Muzamil","email":"syedmuzamilm@users.noreply.github.com"},"license":"MIT","_id":"@aegislog/express@0.2.4","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"homepage":"https://github.com/syedmuzamilm/aegislog#readme","bugs":{"url":"https://github.com/syedmuzamilm/aegislog/issues"},"dist":{"shasum":"72487785796a7fee95813f945f801bbc66a81dd3","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.2.4.tgz","fileCount":9,"integrity":"sha512-xcgR/HULYOJYH4n1JD4cHu/shwimX3IwX0akv6BqTTYyC607BKYorUIEI1xn/06KUAHhlm6Y3yt5H4OCa7ceoA==","signatures":[{"sig":"MEYCIQDTN2v81U21qB9PwGojVzL4gQLNDkvDhcGS/xznuppW7gIhANzDXg47GDOmwFTvwVpIOYcmKZfl6/lR/XVeWzxG/WIx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDhdfJKloBwcFWJFbknNjVMTl3A92VQgh+tNxX7FtdVIAiEAieg+FTMFj0ZuVTgQJZiErvgIF8GT4cefNFxi35rhqj0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23191},"main":"./dist/index.cjs","type":"module","_from":"file:aegislog-express-0.2.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"_resolved":"/private/var/folders/sq/7sjt760s67v1mr3598d_3rr00000gn/T/ca8ed63748be541a2d2a972f6f2d2196/aegislog-express-0.2.4.tgz","_integrity":"sha512-xcgR/HULYOJYH4n1JD4cHu/shwimX3IwX0akv6BqTTYyC607BKYorUIEI1xn/06KUAHhlm6Y3yt5H4OCa7ceoA==","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"_npmVersion":"11.19.0","description":"Express middleware adapter for AegisLog.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"aegislog":"0.2.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express_0.2.4_1788416840335_0.7555644163263839","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@aegislog/express","version":"0.2.5","author":{"name":"Syed Muzamil","email":"syedmuzamilm@users.noreply.github.com"},"license":"MIT","_id":"@aegislog/express@0.2.5","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"homepage":"https://github.com/syedmuzamilm/aegislog#readme","bugs":{"url":"https://github.com/syedmuzamilm/aegislog/issues"},"dist":{"shasum":"791d5e4086a7a3989a9144a4c6cb548fae81f091","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.2.5.tgz","fileCount":9,"integrity":"sha512-dUX+q7HUpFBhV6APfphz8DvwOPp1kGiyvVPCXI4JIA47uouO52LKvcWyvamE1to/gbLYDw69Bu2IrYiW0LxYgg==","signatures":[{"sig":"MEYCIQDuAFmcmEJDf5ZxrvTf8GM8bA8pfmbWv+ZZSaSk7LviNAIhANgwcL8VpjfOEKIz6/yJ0v1flTahUAeFJiTepXgA1rk5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBMIm25vXswSRAOMKBkoGsUDddNOV3GbLPvwat0ENFnfAiEAv2BSvmz0pYUEaUVFzstdtmTx/zPOjeJ7gHYsDdUwXv0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24109},"main":"./dist/index.cjs","type":"module","_from":"file:aegislog-express-0.2.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"_resolved":"/private/var/folders/sq/7sjt760s67v1mr3598d_3rr00000gn/T/4045d1aeda056c6b09bf559657d2b1e7/aegislog-express-0.2.5.tgz","_integrity":"sha512-dUX+q7HUpFBhV6APfphz8DvwOPp1kGiyvVPCXI4JIA47uouO52LKvcWyvamE1to/gbLYDw69Bu2IrYiW0LxYgg==","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"_npmVersion":"11.19.0","description":"Express middleware adapter for AegisLog.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"aegislog":"0.2.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express_0.2.5_1788493671279_0.28795448795024914","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"_id":"@aegislog/express@0.2.6","dist":{"shasum":"7b3a92da7085fe049200cd5d7a3cf9b1d2f6ec50","tarball":"https://registry.npmjs.org/@aegislog/express/-/express-0.2.6.tgz","fileCount":9,"integrity":"sha512-9BQWjD2jfvxCt72tZfiduS7yhgu62VoybqjlCcJXwVUK5/fRxF494tkjps/UbYyDAwUTynmCVJAl97MQ2fv6qQ==","signatures":[{"sig":"MEQCIA3vgKP80btqRMSVrJN7i51IMfUjibknqkEgkvk1ICsiAiBH57EDCPlqZk+alyku84GUbVwW3CDfs4WpTU9BCnA5qA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG06gbHLI0LpQYxg2Rl9GCqGmtcIYdKw8ipqogjoHUyAAiEArRMUWYqCTjCp6nzjE3MuDoFUdz/jwa1dq1rQBaJn5pw="}],"unpackedSize":42379},"main":"./dist/index.cjs","name":"@aegislog/express","type":"module","types":"./dist/index.d.ts","author":"Syed Muzamil <syedmuzamilm@users.noreply.github.com>","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"license":"MIT","scripts":{"dev":"tsup src/index.ts --format esm,cjs --dts --watch","build":"tsup src/index.ts --format esm,cjs --dts --clean --sourcemap","typecheck":"tsc --noEmit"},"version":"0.2.6","_npmUser":{"name":"syedmuzamilm","email":"smmhd121@gmail.com"},"homepage":"https://github.com/syedmuzamilm/aegislog#readme","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"description":"Express middleware adapter for AegisLog.","directories":{},"maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"aegislog":"0.2.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"express":"^4.21.2","@types/express":"^5.0.0"},"peerDependencies":{"express":">=4.18.0 || >=5.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/express_0.2.6_1788935571572_0.6933410859380111"}}},"time":{"created":"2026-08-17T16:28:07.908Z","modified":"2026-09-09T06:32:51.836Z","0.1.0":"2026-08-17T16:28:08.345Z","0.1.1":"2026-08-17T17:08:34.640Z","0.2.1":"2026-08-18T04:27:39.013Z","0.2.2":"2026-08-18T04:41:42.093Z","0.2.3":"2026-08-24T05:25:33.226Z","0.2.4":"2026-09-03T06:27:20.424Z","0.2.5":"2026-09-04T03:47:51.385Z","0.2.6":"2026-09-09T06:32:51.658Z"},"author":"Syed Muzamil <syedmuzamilm@users.noreply.github.com>","license":"MIT","homepage":"https://github.com/syedmuzamilm/aegislog#readme","repository":{"url":"git+https://github.com/syedmuzamilm/aegislog.git","type":"git","directory":"packages/express"},"description":"Express middleware adapter for AegisLog.","maintainers":[{"name":"syedmuzamilm","email":"smmhd121@gmail.com"}],"readme":"# @aegislog/express 🚂\n\nExpress request/response lifecycle middleware and ambient context propagation adapter for [AegisLog](https://github.com/syedmuzamilm/aegislog).\n\n---\n\n## 📦 Installation\n\n```bash\npnpm add @aegislog/express aegislog\n# or\nnpm install @aegislog/express aegislog\n```\n\n---\n\n## 🚀 Quickstart\n\n```typescript\nimport express from \"express\";\nimport { aegisExpressMiddleware } from \"@aegislog/express\";\nimport { logger, audit } from \"aegislog\";\n\nconst app = express();\napp.use(express.json());\n\n// Attach AegisLog middleware\napp.use(\n  aegisExpressMiddleware({\n    logRequests: true,\n    getActor: (req) => {\n      const auth = req.headers.authorization;\n      return auth ? { id: \"usr_sarah\", email: \"sarah@acme.com\", role: \"admin\" } : undefined;\n    },\n    getTenant: (req) => {\n      const tenant = req.headers[\"x-tenant-id\"] as string;\n      return tenant ? { id: tenant, slug: \"acme-corp\" } : undefined;\n    },\n  }),\n);\n\napp.post(\"/api/checkout\", async (req, res) => {\n  // Sarah's user/tenant context and requestId are automatically attached!\n  logger.info(\"Processing checkout\", { amount: req.body.amount });\n\n  await audit.record({\n    action: \"billing.checkout_completed\",\n    resource: { type: \"order\", id: \"ord_123\" },\n    outcome: \"success\",\n  });\n\n  res.json({ success: true });\n});\n\napp.listen(3000, () => {\n  logger.info(\"Express server running on http://localhost:3000\");\n});\n```\n\n---\n\n## ⚙️ Options (`ExpressAegisOptions`)\n\n| Option        | Type                                                        | Description                                                                        |\n| :------------ | :---------------------------------------------------------- | :--------------------------------------------------------------------------------- |\n| `logger`      | `AegisLogger`                                               | Custom logger instance to use (default: global `logger`).                          |\n| `logRequests` | `boolean`                                                   | Log inbound requests and outbound response status with duration (default: `true`). |\n| `getActor`    | `(req: Request) => ActorContext \\| Promise<ActorContext>`   | Extract authenticated user info from the request.                                  |\n| `getTenant`   | `(req: Request) => TenantContext \\| Promise<TenantContext>` | Extract organization/tenant info from headers or session.                          |\n\n---\n\n## 📄 License\n\nMIT © [AegisLog Contributors](https://github.com/syedmuzamilm/aegislog)\n","readmeFilename":""}