{"_id":"express-correlation-id","_rev":"15-312cd3bff2f20fdd6fc0da18c9a04c13","name":"express-correlation-id","dist-tags":{"latest":"3.0.1"},"versions":{"0.0.1":{"name":"express-correlation-id","version":"0.0.1","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@0.0.1","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"ea8676539860fb170471cd77ed8338c8c95df381","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-0.0.1.tgz","integrity":"sha512-GQgkH+knTMMwD3sFW8j5brUUGiDH/8qhGzH2Xv6g4/SqeaMuIynCRyclK4z0qmQD6gtavLdutS05gC25WYhKww==","signatures":[{"sig":"MEUCID1XhDtGh/Mxmfxf8DyDizmVq9WS/0ZDkpTGKCpjldQ8AiEAkUF4RL8rmKFMu417BtB4r+nz1s7gzTJgffGzzXN8lp8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"ea8676539860fb170471cd77ed8338c8c95df381","gitHead":"04624953978977f83db66c17b733eb0eb86051da","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"2.15.0","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"4.4.2","_npmOperationalInternal":{"tmp":"tmp/express-correlation-id-0.0.1.tgz_1481140465007_0.3661049164365977","host":"packages-18-east.internal.npmjs.com"}},"1.0.0":{"name":"express-correlation-id","version":"1.0.0","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.0.0","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"389c2d11bc71abc4fd410a64166e2a982b731f84","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.0.0.tgz","integrity":"sha512-BAuRNr01J9Jp7d6OIKTs6VDKdSoHyQjNi+qM2gSA1duxiiaps9VICg76qAQTvjF3tpCvJhzXOMTkTKpmipmAlw==","signatures":[{"sig":"MEQCIBxBDFeN00iWGCJL99emJBIaxi087amrZ/FgJQRk3kUhAiAE5KL5y+mPqPR83y/qx9hIL60Mq2zq0aEVidzDtfTkDQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","test","examples"],"_shasum":"389c2d11bc71abc4fd410a64166e2a982b731f84","gitHead":"9092e890c49f6bc95e8c6e939981120701eb6574","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"3.3.12","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"5.4.0","dependencies":{"correlation-id":"^2.0.0"},"devDependencies":{"ava":"^0.17.0","nyc":"^10.0.0","eslint":"^3.7.1","express":"^4.14.0","coveralls":"^2.11.14","supertest":"^2.0.1","eslint-config-toboid":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id-1.0.0.tgz_1483562022167_0.8814629288390279","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"express-correlation-id","version":"1.0.1","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.0.1","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"8be4230b20487cd4fd89d618d874c25dbd803a2d","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.0.1.tgz","integrity":"sha512-Uxyxfuy2N84z9Wl4pztdaokgL4sDJzVD6e5PQrTzhFzKSa3OszVhL0z1INgzi0ddAG46v0HLbFANxOuuw6KV6Q==","signatures":[{"sig":"MEUCIQCZ8Umalohe9nnmYBd+y/PhZU8H+L3j8sAOdU8tUhDq0AIgAwcvru48kOuSdtmLfFz+bypXnAtRm3Q710bpvenshT0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","test","examples"],"_shasum":"8be4230b20487cd4fd89d618d874c25dbd803a2d","gitHead":"16e4bae3a0afb3f28074aeeedc44b92d7a324a2b","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"3.3.12","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"5.4.0","dependencies":{"correlation-id":"^2.0.0"},"devDependencies":{"ava":"^0.17.0","nyc":"^10.0.0","eslint":"^3.7.1","express":"^4.14.0","coveralls":"^2.11.14","supertest":"^2.0.1","eslint-config-toboid":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id-1.0.1.tgz_1483562261685_0.5233663590624928","host":"packages-12-west.internal.npmjs.com"}},"1.0.2":{"name":"express-correlation-id","version":"1.0.2","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.0.2","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"b382ee5b97e61e1de19018aff912dfec88161ffc","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.0.2.tgz","integrity":"sha512-ydCyf1M9aPZodkoJ1ILs6hxOTv0oL2mJmABKM1iUE07sd4jDt7L0E34PUAP3t4tj7GBs0IyzZmdASyNROM9zjg==","signatures":[{"sig":"MEUCIA5SqX6OasMiHh5eY19HQaXwH8QflpvaIG+YmD8YIdErAiEAv39/g60g+TB8iSZQMcNLogfBHj57u431J4wOBfQG5d8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","test","examples"],"_shasum":"b382ee5b97e61e1de19018aff912dfec88161ffc","gitHead":"cd9113a3f85d79d1feb35e2ad46db8f0271c00a5","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"3.3.12","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"5.4.0","dependencies":{"correlation-id":"^2.0.0"},"devDependencies":{"ava":"^0.17.0","nyc":"^10.0.0","eslint":"^3.7.1","express":"^4.14.0","coveralls":"^2.11.14","supertest":"^2.0.1","eslint-config-toboid":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id-1.0.2.tgz_1483562458964_0.21332233399152756","host":"packages-12-west.internal.npmjs.com"}},"1.1.1":{"name":"express-correlation-id","version":"1.1.1","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.1.1","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"fb06d7538395d516614522cd5248f52ec86ea102","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.1.1.tgz","fileCount":6,"integrity":"sha512-hXxxf87FufbQnDkRp1Qe3/wqd/2ewj4WygpcqzPBWHQaL2O4apITsuw6aQRIRI/w57iXVROdYt4Y6kZgU/wCfw==","signatures":[{"sig":"MEUCIQCL8itrFcEB90WGkj2C36LyyciX9US4ayv+2Wg3e9sVGQIgfXbeCEb5MbeK/rQk40lpCkD0yw24IKOgHi3cuXWoDCE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8135},"main":"index.js","files":["index.js","test","examples"],"gitHead":"0d05d40b292486d9f7cb986436a203502ab49601","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"5.3.0","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"8.2.1","dependencies":{"correlation-id":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","nyc":"^11.0.2","eslint":"^4.0.0","express":"^4.14.0","coveralls":"^3.0.0","supertest":"^3.0.0","eslint-config-toboid":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id_1.1.1_1520686806780_0.7691781488702698","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"express-correlation-id","version":"1.2.0","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.2.0","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"cae63d4e55ca892357b60cdeb7469039da5bcd73","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.2.0.tgz","fileCount":6,"integrity":"sha512-Ab5YQwNR+dHzHqNegvpgQNku996LJArN3iA2jYDYqEdqgw1PhpGNPtjcMU0+OH2ptRFoxAEHdvz2n2MrucKfiQ==","signatures":[{"sig":"MEYCIQCJ3v7038ixuXrBbQD2X2fCvcEuBo+wvYGAHbiFqmej0AIhAKr7BZE4MbmmXX7Ft5w6aXbzEFYDGwSYtPNVK4fH0UKX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8135},"main":"index.js","files":["index.js","test","examples"],"gitHead":"8fa5b72402bdb36e10be22dcf3211aba3ea73548","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"5.3.0","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"8.2.1","dependencies":{"correlation-id":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","nyc":"^11.0.2","eslint":"^4.0.0","express":"^4.14.0","coveralls":"^3.0.0","supertest":"^3.0.0","eslint-config-toboid":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id_1.2.0_1522686440940_0.3701328703144464","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"express-correlation-id","version":"1.2.1","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.2.1","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"6463c0873248d85a45d9a589c7b600b66cc2c992","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.2.1.tgz","fileCount":6,"integrity":"sha512-er/l9te0Z1yaJAuz0DZG8awizRzbXBKKWhJ6N4LBwAG2GA0loWwLxQHM6Uhyu8gbTNY6CPsUpV8qBY/YXsITig==","signatures":[{"sig":"MEQCIGK6iZOncsxm0QRhqYdAd7CoHH19hCApFxUlG5chXFa+AiAFA2CwaFy2pz89GgFV8I+q3a1KzEOw5EisdimLqPWsOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcIL7xCRA9TVsSAnZWagAAsakP/iaf+z6xYb66Sdj0Vir9\nL8tatxPAYH0151kxQt/L1e20LvGK9xwPGPYVA6FD+1Hkyve8290EPY4FxsCG\nCg3X9aX8tkO4v/xcR9ODg+wsu3wkkCBWhdKTUbxaoyjnlXNKhdNmTLMbqkyV\nNEG021nRFqQSO2trvB6BpRb+s4OtoMO+kPXkDuq2K+7KSeGFMSs7RsXKFsEk\nG+zyLws/JIXJpVmMVVjBairsz+kdmESrpL4xqsSnETC7DagHnc1rHII+xxHU\nodiyp0BvMbvtzFXAz2PVPDiuGdaD67ZPUT4AoHLrmHYzzwIoD4LdlG58UQ+m\nAVTea9YiNWEcmjqmSiBMAxTbY/VcGdZHxYauZBTRXh2hOXQP0jDoZbF8FSUc\negOUz5IXOKra9gbVp1mAgSlSt8+0fpNLumoZolT9ksNvgLF/3RGMrr5jPBfd\nnoUO4dg2yeuQwuQZiiLBRibPOjLv3tMUCjCQpd4pqBygGE0YCc8v21tmiSPg\n8bI3sAoYXTG46j91myt9h9khL2ibFJq6I2oejScPio12jboU/thmghMb2Ac2\nISaBhJ8DoDCdg3HIlHgS5dbUSFyx9I2lwVgyjPVMblXwfBtv40PoBQvYcCjS\niPMoxSXLEEwG70wtuJy0SoZ3D12l9Pd/H2HVva3/1qx1vQ32FziwNfSHInZm\nI9qL\r\n=77gq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a10cc510c393a66ca5e3a37f944fb3bcce41e961","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"6.4.1","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"8.13.0","dependencies":{"correlation-id":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","nyc":"^12.0.2","eslint":"^5.0.0","express":"^4.14.0","coveralls":"^3.0.2","supertest":"^3.3.0","eslint-config-toboid":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id_1.2.1_1545649904909_0.5941806452564533","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"express-correlation-id","version":"1.3.0","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.3.0","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"5ed8265e3b88c7c7634b032bf50844c099c543cf","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.3.0.tgz","fileCount":6,"integrity":"sha512-sAoWgfWEwWvwje8/+EptSu0TZxpT0P5WKY1QIRZETcN2P2IKou1rRKfAy8QSmhZn5KICp+TDccoZRNfyQnBeLw==","signatures":[{"sig":"MEUCIBCFNNZ/6cYzYAaPHoEbgDv0zihpQBFgNymj+kECexVZAiEAoX/QSDrEaHuMfFw+7Nq7N/0Y+8uJPClWvE+IyGef+44=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcs3EQCRA9TVsSAnZWagAAEtgP/07x43JbhzMDWRMOZ9pc\nfpn6HdzWyDZyKVjURJYv9L6htoh3C+SRcBIBjteOX7HGDvj5UmxqU1Eo4dv+\nF2+BIGmC3bAtkawR5iJnAmxE3RZV2mta8itC8ZaJMAc+pRV5iMTrFDlpCz+x\nhjhilXtWLwbOFWgooaCoCxPtfG2Tdey4iq//tE/PZb5MMDkNKrkrH97tmN9E\nHmnkmOksntP9Mv6PhcBJeo58eI6WPzGYjNO3jsNmPmG6hfQichtIf8ufq2Fa\nXlK8AdsuECxx+U4tYqRqfCXaLhQ35pMUib5UQF7SHrwjCa38LmlL3+JpUiFW\nNzfH1a+gh+oPOJ8bWDqB8kQ/bxMwHyuJJVpA5x3NSSyZzO39VyiLnQ0E3ZgR\nh6nd/pcaeM7r2iSOhjnOKFwOxNxO9nYMwKRCY6+8dIkC5LiIinrfPVLso+yu\nN77VKNONeivw6QbE7YNxrp0j47yuaCYWagf1z3NYz9rRbiVAZuvGlpjho24T\nD/8Nfr4KamgJaSGX/rYAXcShTkbdZ6hen+KoVnbiMG6/tpcsdJE6rHP0z0co\nORjO8k4nTKN4l3MGdLBxU8v92o/tZZ6j1BIUiiIFJTVYDZv9/b22HxCMHIG7\ndulU1Nvzkmh72wU+DrTTkPXN9dts4vl+KLjxiTvfzAYGXZEZRZN+Hjn//zgR\n43f/\r\n=f00/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"01233c832e978d9c2157098bde75ebd8eff4d701","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"6.4.1","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"8.15.1","dependencies":{"correlation-id":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.4.1","nyc":"^13.3.0","eslint":"^5.16.0","express":"^4.16.4","coveralls":"^3.0.3","supertest":"^4.0.2","eslint-config-toboid":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id_1.3.0_1555263759593_0.6616232924545897","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"express-correlation-id","version":"1.3.1","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@1.3.1","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"b4297855afd2c0da77f48ed9d99ce792621201cd","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-1.3.1.tgz","fileCount":6,"integrity":"sha512-HVBxJtF8GI0I8d4nPD756NohUoLRUIsYsddHk1+8UtuF4LShfaDL7A+2+niOYuaMHCsfF6DWrcVz25k0qQGhZw==","signatures":[{"sig":"MEYCIQDQ5MCOLJlZFYurXu+qG8uv8FJay+RkFbZsIvw9VetpUwIhAJN43npfjy0iIAvjuDGnTkJPw4wHPX+aEqLNp8aIyCPB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmdWTCRA9TVsSAnZWagAAp3cQAJwRxGXq9ztveVlodCSt\nw+iUPCEHPl+Hezrgmw6pYeJDV4pw9b70aVhg8en1PrOPaW3TaIrP6TZu7muP\nChNnWgE+J4GfNEfaWptwnQHmed5oyrDLnagIbQ8ZeCcVJvM7/nkfCndtR5SF\nudLOUDTXMn003gnWUZhV9+Qxv1lzrZ/khPA/WURWvGzjPhQoumq94kf029W4\nqpJg5qYtLwDuaIoXqzc35kmCrn04NvplQy52UwBZw8wEUb/dqnRS2A5qIpOe\neBrAc+ZHDuHJ1XU+cMdmbtQ3pFegT3S0ltKnggW2Ir3iP2MlPVkN+EgbMTMF\nGlpf3tNsU9hnhD7PkJuONLwjx0wl0y446M4FeV10m5c6J92UvbxVhGx3dAuI\ndDdGRGB56zX0v20V2iEUvhPjcdzAbvXS0Xu1vdyYFv2Oa9eqHarkRLINpDeA\nSgK1l6mAG6tVfwWy3NTNzf0AGZ5soFv4+RV3/1+5/Nupv5gxzn+MSDKmg9Av\nZVkPSk9MmmtHTN7EqwJbqtyzJ9dzM6uoLx0W7BFOe/uBuAcCkE7J2TJFSqij\n7RXQOmFMr/OUsLuME69J7dPsd/mrOmms16QHxwE3NyO6tECBdmLxdwoCdibK\n1ZMI2kOT5z5dgAr9XzrVrplEID1kA3Sj2cpCHBCjxVhV4AO3y/4Ao9Euvkg2\nL4kj\r\n=VpYX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3ebcf4d05195cf8bc166c115f6f386c22891fde6","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"6.4.1","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"8.15.1","dependencies":{"correlation-id":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.0.0","nyc":"^14.0.0","eslint":"^6.0.0","express":"^4.16.4","coveralls":"^3.0.3","supertest":"^4.0.2","eslint-config-toboid":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id_1.3.1_1570362770375_0.0011400357354260926","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"express-correlation-id","version":"2.0.1","keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","_id":"express-correlation-id@2.0.1","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"homepage":"https://github.com/toboid/express-correlation-id#readme","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"dist":{"shasum":"f7f66af3dd7daf76e3ab3a67d7148784e9fe56bd","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-2.0.1.tgz","fileCount":6,"integrity":"sha512-jUxALLTg01TxUffi2jQ3IYO8WTxZL+oJUefLeGQ3XLBwpKZck6+aGvM25akrmQ1Kewhv5bfLgeqcHPrtT6YOxw==","signatures":[{"sig":"MEUCIQDkxfNCVFOFiUOzSddFXrszvkQ/PqKQ5g/9yQV89ZHp5QIgRELJGMRASKJBtmYcW135o94mpnR4CqcGlZfHs6Uo5zc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL7l8CRA9TVsSAnZWagAA1ogP/1XMeomosiRxH8+1G3m9\n6bqXfMYV6qhC3ybw8oO/alhLjJvD3gTiL5iDMHth1eOWrvAd+2yDFmzhgPUr\nDanpg5+zhPLtt1P0apbIQI0VoSuD/y/jswgp6LLaMaspNQB0xcpCijIhaDWb\n4AV4iUMrZva8btbOQecFVMdSM6yZU9B1ivXpcUFqQSvwiLXYQOLEdBEV8H4c\n6IeFEcbnc0pxMTYU0yJWkBaeMZv20qgSMOrmyKEgoX2JKU5LYj0ykuoZKyqM\nVSjYLIP0XXAjoG13mzOVeAzfwsAt3RUHtCxKkCGdYwPi1EC6klbNKiN8SYCz\nTknD5nd+iHvO09NNquOqeHk6ZnaqhplIF3cBzH6xZagi8ccJf8pmfKZJbtOB\n20CYPNwiPrjh37CT+HTj/oN9+on20T0ca26FaJs4uDB+bTpdPckVa31Pw84e\nnJkIokOS9C++Rt8fKHYoZwMEAgeTDj55XDqqtrKazuw9SHJcPWZHL7XDT8NC\nwVjlrS4EwmYqVgcqPK5/NC8sD+HwYj14T/Ba35mKoUdnYRT0xPZV+pTyDL87\nCn3lm1ykmcsYCN9B6uKdfKLRVeQjwiV73QdW8eUIwqQrTvslpYlgbH/dlw3D\nrjixoxJQPmhaGS07QAmIZhHMpHYG/aCnw5doFP2cMw2drjHU3uOhdXqnqQSu\ndXMv\r\n=zn1B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12.17.0"},"gitHead":"b1b7c6bb5bdd1df6f2ef67ddca930c0da81e4951","scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"ava","coverage":"nyc --check-coverage --lines 100 npm test","coveralls":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"repository":{"url":"git+https://github.com/toboid/express-correlation-id.git","type":"git"},"_npmVersion":"6.14.11","description":"Express middleware to correlate requests across http calls","directories":{},"_nodeVersion":"12.21.0","dependencies":{"correlation-id":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","nyc":"^15.1.0","eslint":"^7.32.0","express":"^4.17.1","coveralls":"^3.1.1","supertest":"^6.0.0","eslint-config-toboid":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/express-correlation-id_2.0.1_1630517628775_0.40315908554131563","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"express-correlation-id","version":"3.0.1","description":"Express middleware to correlate requests across http calls","main":"index.js","engines":{"node":">=12.17.0"},"scripts":{"lint":"eslint index.js test/*.js examples/*.js","test":"node --test test/*","coverage":"node --test --experimental-test-coverage test/*","watch":"node --test --watch .","ci":"npm run lint && npm run coverage"},"repository":{"type":"git","url":"git+https://github.com/toboid/express-correlation-id.git"},"keywords":["express","logging","correlation","debug"],"author":{"name":"toboid"},"license":"MIT","bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"homepage":"https://github.com/toboid/express-correlation-id#readme","dependencies":{"correlation-id":"^5.2.0"},"devDependencies":{"eslint":"^7.32.0","eslint-config-toboid":"^2.0.0","express":"^4.19.2","supertest":"^7.0.0"},"_id":"express-correlation-id@3.0.1","gitHead":"1d6b7285b36b9554745889e67438dc334c5da854","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-H0dWSFiW8IRfqhBzK+Rx4dD1wU0d6SWZD4z4Pzs04lYBrVvHo8thQK4WzpXBptCDLQ+xCeb7bklB6rPjV7Q37A==","shasum":"e41aa41b4b478d936390361b09d3a5ef97e9b101","tarball":"https://registry.npmjs.org/express-correlation-id/-/express-correlation-id-3.0.1.tgz","fileCount":6,"unpackedSize":8915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+plCS9ESXRiPOwa8V0UyTd1vgTbNV1kz7I/Iv1FBm9wIgfi1ADhZL8Hw8UA0bkll2/lQtocDC/5zoCuBxcveogdo="}]},"_npmUser":{"name":"toboid","email":"toby@toboid.com"},"directories":{},"maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-correlation-id_3.0.1_1721287788051_0.6337969526574114"},"_hasShrinkwrap":false}},"time":{"created":"2016-12-07T19:54:25.618Z","modified":"2024-07-18T07:29:48.395Z","0.0.1":"2016-12-07T19:54:25.618Z","1.0.0":"2017-01-04T20:33:44.305Z","1.0.1":"2017-01-04T20:37:43.723Z","1.0.2":"2017-01-04T20:41:01.077Z","1.1.1":"2018-03-10T13:00:06.875Z","1.2.0":"2018-04-02T16:27:21.034Z","1.2.1":"2018-12-24T11:11:45.061Z","1.3.0":"2019-04-14T17:42:39.687Z","1.3.1":"2019-10-06T11:52:50.511Z","2.0.1":"2021-09-01T17:33:48.895Z","3.0.1":"2024-07-18T07:29:48.240Z"},"bugs":{"url":"https://github.com/toboid/express-correlation-id/issues"},"author":{"name":"toboid"},"license":"MIT","homepage":"https://github.com/toboid/express-correlation-id#readme","keywords":["express","logging","correlation","debug"],"repository":{"type":"git","url":"git+https://github.com/toboid/express-correlation-id.git"},"description":"Express middleware to correlate requests across http calls","maintainers":[{"name":"toboid","email":"toby@toboid.com"}],"readme":"# Express correlation id\n\nExpress middleware to set a [correlation id](https://github.com/toboid/correlation-id) per route in express. The correlation id will be consistent across async calls within the handling of a request.\n\n## Compatibility\n\nFrom v3 onwards this library requires node >=16. For older node versions use v2.x.\n\n## Installation\n\n```shell\nnpm i express-correlation-id --save\n```\n\n## Middleware usage example\n\nAll middleware and route handlers following the `correlator()` middleware will be within a single correlation scope. If the incoming request has a header called `x-correlation-id` then it's value will be used as the id for this request, otherwise the id will be a new uuid.\n\n**Note:** the correlator middleware should be placed after any other middleware.\n\n```javascript\nconst correlator = require('express-correlation-id');\nconst express = require('express');\n\nconst app = express();\n// app.use other middleware here\napp.use(correlator());\n\napp.get('/', (req, res) => {\n  console.log('ID for this request is:', req.correlationId()); // id for this request\n  console.log('ID for this request is:', correlator.getId()); // equal to above, not dependant on the req object\n  res.end();\n});\n```\n\n## API\n\n### `correlator([options])`\n\nReturns an express middleware that creates a correlation scope for all following middleware and route handlers. If the incoming request has a header with name `x-correlation-id` then it's value will be used as the id. The header name is configurable, see options below.\nTo ensure the correlation id is available to other middleware, ensure that it's applied after them.\n\n```javascript\nconst app = express();\n// app.use other middleware here\napp.use(correlator());\n```\n\n#### options\n\nOptions to configure the correlator middleware.\n\n##### `header`\n\nConfigures the name of the inbound header to check for a correlation id.\n\n```javascript\nconst app = express();\napp.use(correlator({ header: 'x-my-correlation-header-name' }));\n```\n\n### `correlator.getId()`\n\nReturns the id for the current request. If called outside of a request returns `undefined`. This function is useful if you don't want to pass the `req` object or correlation id from the handler to downstream code.\n\n```javascript\ncorrelator.getId(); // Returns the current id or undefined\n```\n\n### `req.correlationId()`\n\nReturns the id for the current request. This function is added to the incoming `req` by the middleware.\n\n```javascript\nreq.correlationId(); // Returns the current id\n```\n\n### `correlator.setId(id)`\n\nSets the id for the current request. If called outside of a request throws and error. Useful if you\nneed to set the correlatiaon id and don't want to pass `req` object from the haandler to downstreama code.\n\n```javascript\ncorrelator.setId('my-new-id');\n```\n\n### `req.setCorrelationId()`\n\nSets the id for the current request. This function is added to the incoming `req` by the middleware.\n\n```javascript\nreq.setCorrelationId('my-new-id');\n```\n\n## License\n\nMIT\n","readmeFilename":"readme.md","users":{"l8niteowl":true}}