{"_id":"@leapfrogtechnology/async-store","_rev":"16-e73558c3e6aaac0fe9b38b1243f49be4","name":"@leapfrogtechnology/async-store","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0-alpha.1":{"name":"@leapfrogtechnology/async-store","version":"1.0.0-alpha.1","keywords":["typescript","javascript","node","express"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.0.0-alpha.1","maintainers":[{"name":"cham11ng","email":"sgr.raee@gmail.com"},{"name":"mjsanish","email":"mjsanish@gmail.com"},{"name":"leapfrogsuperadmin","email":"superadmin@lftechnology.com"},{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},{"name":"romitamgai","email":"rtrromitamgai@gmail.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"pratishshr","email":"pratishshr@gmail.com"},{"name":"sanjeevkpandit","email":"binarysanjeev@gmail.com"}],"dist":{"shasum":"6bbab355a961a1bbf9af9a2d9f0b01043b827108","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.0.0-alpha.1.tgz","fileCount":28,"integrity":"sha512-cJbe16k7VT8YhWL8IIpmGqT7XyfFZAsr8aaf5OUukPZ7mtPRvzlD/Zl7eInZj5McXWUNeqEtEXfvGaXk5TYedA==","signatures":[{"sig":"MEUCIEz2Tki3HYObBRd3Wb70P6+8KWQTSRWIEajKrrbxuh1CAiEAtQxsQgOna4smF6wamHpeunGHJKoXBxeHgK3B28HV4Hk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuAAqCRA9TVsSAnZWagAALyMP/3Y6rHTQF7bj/aHaB75c\nMJ9Q7b/43eTpUkwbqNXN3Ov/IrnAoktlR9Y95cYBcZ3bxEoZo02ezlk+5dHB\nk85XcMYRsQnlAe+CyZ5jt/BCqogGjchUleJBXlebW/CB63Mf4SmRMANOLnQs\nC5KD91QE4BR10uioZQ5ISj1CuNpkO2jL6vFuAiZknjNRa3OtGgs+vkZRRq4d\ny1VAUaR23r9PRQSZxjsocCKguEyaE1dHhvpumrYe9HxQDG8zLF3kJZBiTZhg\nhXzDuBgvjolfqX9t//+6zuhQUSVKHqtQbnWKdDqvN06lOW4LWgvtjzQzvces\nMf8kC4DDEvZ3CALPVVuG/R+FrHTFpZloYKKv3vGicQ/FqvhLQnqvh3VE6Qoh\nJgItoM1/bgt29MHt0O5l6uWO5qIt53ccSfO2cLjKdG4S7Gv71c65lssYozKF\npB5qdAT7CUv8nhWRJDqZd++Lrz8fjlYrVnxdR8r/bh900W4mpQbdQ3ETwil5\nWFBnObPE2/3wkWWGCydf6LEq0lH5LH1G5go818HjoPzImJa1Pfr9a4UtIh+j\n8jMcP9rRmiJcNVI9deok16GztB+CLNfodEUDq38UeIDq7VrRuD45pNlk89TS\nOSxnDSGh+w/n2xpETmTpVjc+heZ1F1PsmL3NhzTnkxrbkqrUePab08zUfLf/\nMNRO\r\n=8ciF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"scripts":{"lint":"tslint -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","test":"cross-env NODE_ENV=test mocha --recursive test/**/*.test.ts","build":"cross-env NODE_ENV=production run-s clean transpile","clean":"rimraf dist","watch":"tsc --watch","release":"./release.sh bump","lint:fix":"tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","prettify":"prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js,tsx}'","changelog":"./release.sh changelog","transpile":"tsc","test:watch":"cross-env NODE_ENV=test mocha --watch --recursive test/**/*.test.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},"description":"Async Store","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js}":["tslint --fix -c tslint.json","prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js,tsx}'","git add"]},"dependencies":{"uuid":"3.3.2","debug":"4.1.1","ramda":"0.26.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^1.3.1","mocha":"^6.0.2","tslint":"^5.15.0","ts-node":"^8.0.3","prettier":"^1.16.4","cross-env":"^5.2.0","typescript":"^3.4.1","@types/chai":"^4.1.7","@types/uuid":"^3.4.4","lint-staged":"^8.1.5","npm-run-all":"^4.1.5","@types/debug":"^4.1.3","@types/mocha":"^5.2.6","@types/ramda":"^0.26.5","@types/express":"^4.16.1","chai-as-promised":"^7.1.1","tslint-config-leapfrog":"^1.0.3","tslint-config-prettier":"^1.18.0","@types/chai-as-promised":"^7.1.0","tslint-no-unused-expression-chai":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.0.0-alpha.1_1555562538247_0.916082206101468","host":"s3://npm-registry-packages"}},"1.0.0-beta.1":{"name":"@leapfrogtechnology/async-store","version":"1.0.0-beta.1","keywords":["typescript","javascript","node","express"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.0.0-beta.1","maintainers":[{"name":"cham11ng","email":"sgr.raee@gmail.com"},{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},{"name":"leapfrogsuperadmin","email":"superadmin@lftechnology.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"mjsanish","email":"mjsanish@gmail.com"},{"name":"pratishshr","email":"pratishshr@gmail.com"},{"name":"romitamgai","email":"rtrromitamgai@gmail.com"},{"name":"sanjeevkpandit","email":"binarysanjeev@gmail.com"}],"dist":{"shasum":"651da4dce6e628295ca2207eb7a8e03a2c9f34dd","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.0.0-beta.1.tgz","fileCount":28,"integrity":"sha512-sLA9C5zY8icWZjE2/FYP82kQpCpJWoHgQchSFb/jfUPmySq5djRELJgKpHgosGCeS+PtXp6JqZfM9TDRkQ0hkw==","signatures":[{"sig":"MEUCIQCrCUCF1A969Dj1up+0Dj72QOpUT+WyTjY088DmepWg8AIge9/VYdydgzBLqOQvaWx5jrVGVxCuy/2LpDbOa35jbVg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHtwXCRA9TVsSAnZWagAAPV0P/AvJRA82p9xNv0ZX8qC0\nS7RnhJ9r6mceByj5XwgS7Y0uh+BDjSccGlM8ZffBJWtkZERDjuS6GUIIyfw7\nrTbe/Zt057jx1NisvXH1aUKkCURQoxYDs0qJ0/Wuisk0GadFr1DJpgfquuAk\nAP8gkX6jqSzSBKk+bnmu7gdMLFmhKImGAXr3SqTSgExun8VmrC7ZrG9e75l8\nhePqb5W7PL5Ko21p7q0bN9Vxkk9Zj3otStJ8F4EXqfXvnhWH0Ljb0BRCmhFF\n3h8f4q+QnrkOSt/RANE5xHu+pCuWL2Ixudrjhy3AQorIM4jPv/8wUaWjEHIs\nQ/PSPm/Rnqwv0zC2u4/MYGNpbk6kKrozhksTeGJeMwFgNF2CaXWR3T5Oc+b8\nsWXDGHb0H/0GXaj5YVJdDF1xkSZSQzCSqty5qaFyA4jvqMO1xeyoupS0WcHA\nZbrT5eLB6qpvtGKmb7PynsQ4tc1qZ9S6kCStqPOIQ7jScHFNqWrnxFWHOBVo\nC5QG+NhfPL82M4bEzz6Xovda+nGrmOIriuzcztUXsV+GpllsxjmL2BbeYN1l\nrePJKCUJAQ4MuUMra8ckDJPEbhAn/X6NGmMrY1EMB+vQIrjtgmIsnU2aq6If\nZPab3UdTOFPgIv7ig3+rWuExFQolzGlZAHNWDDDMO8GkJgw27uEXm3kUJyaL\nqvBU\r\n=8zM8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"gitHead":"a1cc81a291fab316279eadf0d6ccbbb6638016b8","scripts":{"lint":"tslint -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","test":"cross-env NODE_ENV=test mocha --recursive test/**/*.test.ts","build":"cross-env NODE_ENV=production run-s clean transpile","clean":"rimraf dist","watch":"tsc --watch","release":"./release.sh bump","lint:fix":"tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","prettify":"prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js,tsx}'","changelog":"./release.sh changelog","transpile":"tsc","test:watch":"cross-env NODE_ENV=test mocha --watch --recursive test/**/*.test.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"mesaugat","email":"mesaugat@gmail.com"},"_npmVersion":"6.7.0","description":"Async Store","directories":{},"lint-staged":{"*.{ts,js}":["tslint --fix -c tslint.json","prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js,tsx}'","git add"]},"_nodeVersion":"8.12.0","dependencies":{"uuid":"3.3.2","debug":"4.1.1","ramda":"0.26.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^2.4.1","mocha":"^6.1.4","tslint":"^5.18.0","ts-node":"^8.0.3","prettier":"^1.16.4","cross-env":"^5.2.0","typescript":"^3.4.1","@types/chai":"^4.1.7","@types/uuid":"^3.4.4","lint-staged":"^8.2.1","npm-run-all":"^4.1.5","@types/debug":"^4.1.3","@types/mocha":"^5.2.7","@types/ramda":"^0.26.5","@types/express":"^4.16.1","chai-as-promised":"^7.1.1","tslint-config-leapfrog":"^1.0.3","tslint-config-prettier":"^1.18.0","@types/chai-as-promised":"^7.1.0","tslint-no-unused-expression-chai":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.0.0-beta.1_1562303510237_0.10452302376742062","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@leapfrogtechnology/async-store","version":"1.0.0","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.0.0","maintainers":[{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},{"name":"leapfrogsuperadmin","email":"superadmin@lftechnology.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"mjsanish","email":"mjsanish@gmail.com"},{"name":"pratishshr","email":"pratishshr@gmail.com"},{"name":"romitamgai","email":"rtrromitamgai@gmail.com"},{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"},{"name":"sanjeevkpandit","email":"binarysanjeev@gmail.com"}],"dist":{"shasum":"0ebd44f8b32ab6d75b5ea21a2297afb42651a337","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.0.0.tgz","fileCount":31,"integrity":"sha512-DwgHOMLcyF4HIweqq8PNp6449kA4LGFkK4kAtXsUbYLX432buzvuWnZtBhWYzO8ur1M6tCFzmq1Ekcq91tRoOQ==","signatures":[{"sig":"MEQCIEG1aHVKf2QdyoC/mk+MkjyF7KiJWrW4vE3ja+B3DGzVAiBMCuVBN9sONd0yKVN0Lvy7e1Rba03nO7s2tGD2wwYD9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMWXOCRA9TVsSAnZWagAAtZgP+wWkiIs/P8P1+PYAizVC\nOSuCh1thtYewMvZV4tfBPosbCnMKy5vB5b5KDWD589UIpg3Sn0N8CFEcChXU\nX7cL2dtWB+p35/VrnJuqSwjxnQsmpvL8KN9gs5jOgP728BKLYdDbJpxbmOIO\nAvN/POHtGLGYdt6eNPPT1LVYZ+VYc3m2lVP+W3DZsAXi0VVBkAc6mwGducYL\nRb8R5ItIt9qZr1p0nY9w7wWnXLJXgAtN2lkyLvRHxHKVuq4CJs7/lu/Ww+uN\nmJrFMLH2SExbeAWb1AgREsj2bkvPVGwGgLgR+DZNecVtu2ObPEpeI2dhTWOt\ndVNRdXioToBkI1Bui/4Q4g3ir0yHzjo5dCQUC1B0B1NwrheLHfIuEfNF6YJI\n0y3cgu7PDPNWZdWRBAa9EkUcI5fFj/5WkKYMuBpheCAA84NEsV3Q3nqIga+Y\now5H1uA39KmJ4fBbQdbSlsTXCZQ6zeXif2H+niS+0GgE/+ch3vSfQexszjOa\nN+vv4xinphnX1MRBujN+YSpgev41j0SqNbaTYFTsMMbZKzwgBzKSyPKTVEKt\no7DVArliX2by6sVIGQj+V6ud8LQbPK9TUBHIDiplRsPYLV+PuJSVYWc/wSUB\n6kF0EITzI5g7dBk93aWp3HrOBQDzbtu9uSnAE3koZMzt3/jXeLc4mOOZgXb8\ntvsu\r\n=2/S1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"scripts":{"lint":"tslint -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","test":"NODE_ENV=test mocha --recursive test/**/*.test.ts","build":"NODE_ENV=production yarn clean && yarn transpile","clean":"rimraf dist","watch":"tsc --watch","release":"./release.sh bump","lint:fix":"tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","prettify":"prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","changelog":"./release.sh changelog","transpile":"tsc","test:watch":"NODE_ENV=test mocha --watch --recursive test/**/*.test.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"},"description":"Async Store","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js}":["tslint --fix -c tslint.json","prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","git add"]},"dependencies":{"uuid":"3.3.2","debug":"4.1.1","ramda":"0.26.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^3.0.0","mocha":"^6.1.4","tslint":"^5.18.0","ts-node":"^8.3.0","prettier":"^1.18.2","typescript":"^3.5.3","@types/chai":"^4.1.7","@types/uuid":"^3.4.5","lint-staged":"^9.2.0","@types/debug":"^4.1.4","@types/mocha":"^5.2.7","@types/ramda":"^0.26.15","@types/express":"^4.16.1","chai-as-promised":"^7.1.1","tslint-config-leapfrog":"^1.0.3","tslint-config-prettier":"^1.18.0","@types/chai-as-promised":"^7.1.0","tslint-no-unused-expression-chai":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.0.0_1563518414009_0.5540989242515215","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@leapfrogtechnology/async-store","version":"1.0.1","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.0.1","maintainers":[{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"}],"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"dist":{"shasum":"f87e813edfc066598f7eaf6c65291b82bf9f5984","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.0.1.tgz","fileCount":31,"integrity":"sha512-0ccjfujutLbRdR+hloaMq1gvB7xTfLwA32Fnt5tIdzTrpdpIZRyq4znRcZ4edU9+WaU/bpRf4zc1eh0jPMRikA==","signatures":[{"sig":"MEUCIDbE0U5HvmPK/Faxog+/f36Dd8mPlyMToJm9GZKgH/XUAiEAt7z3JSOBasy7W9n/KoK0V8lbEhuACJGo8ADJHlDThj8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMYVFCRA9TVsSAnZWagAAb6gP/1mdxk/n7ynmZ2itYnbq\nZWFKMwe7CYyKyVlTPGyhgIJne+eTG+ZClTrDg9ZKnGpc2tzuormEILDniC1h\n9Dg7+iWPx8Lgk0ce0aT7+xBidgq2RmXqKYMRyMnjLzLG6W11MUbt2QDXmOEc\ny0TRBqbtY3WQVdvAPmCsh81Jp/DMFsKj+t720PFiT2MfUQQHqUPstLi9LgEn\nh3+btOq8IAm+NS6pZrmGKDwTqKUiyFm2MkBcsbybkmXCTR/E8c6we08/UKW7\nI/7f6eSLBPpBxD9izbIWrVX72XDIb5FUWcQVLbsvJGpGMpaPBXx1OWyyWLss\nVPSZubcNRIJHB9L+kB80mMKMbG2acxQgoHZZE5Tu3h+NDKryoyH0rNh5zmTN\n9IJXoCDVmCLgMI8c28StWju2EZNRCAu9ZYk/Z7iNFAyjxrv5s30hgS8Kd7t3\nehPp17zEnxa03PKtKJhuinc5DvpykqSSBMUwL0p7d2osmMi0Bt9N7CnoYc0W\nSchEiy3R4NWsVHigjv5fy9xg0icLdF3lKckwY7rqP/3Aqt0OPi/Y1AZWfBKJ\nICuH61BVd1kPgodc26qU+tyHkV4JH2v0HJ9or/xT0qb808UbR01OqRkfuCPw\nhQJzKluN3tZu6AXIxtBbzQ2a9WX7re+nVQUrjLhoyUZCxHWrESwoJcGz5uI6\nM8q1\r\n=ozQC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"scripts":{"lint":"tslint -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","test":"NODE_ENV=test mocha --recursive test/**/*.test.ts","build":"NODE_ENV=production yarn clean && yarn transpile","clean":"rimraf dist","watch":"tsc --watch","release":"./release.sh bump","lint:fix":"tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","prettify":"prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","changelog":"./release.sh changelog","transpile":"tsc","test:watch":"NODE_ENV=test mocha --watch --recursive test/**/*.test.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"},"repository":{"url":"https://github.com/leapfrogtechnology/async-store","type":"git"},"description":"Global store utility for an async operation lifecycle and chain of callbacks","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js}":["tslint --fix -c tslint.json","prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","git add"]},"dependencies":{"uuid":"3.3.2","debug":"4.1.1","ramda":"0.26.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^3.0.0","mocha":"^6.1.4","tslint":"^5.18.0","ts-node":"^8.3.0","prettier":"^1.18.2","typescript":"^3.5.3","@types/chai":"^4.1.7","@types/uuid":"^3.4.5","lint-staged":"^9.2.0","@types/debug":"^4.1.4","@types/mocha":"^5.2.7","@types/ramda":"^0.26.15","@types/express":"^4.16.1","chai-as-promised":"^7.1.1","tslint-config-leapfrog":"^1.0.3","tslint-config-prettier":"^1.18.0","@types/chai-as-promised":"^7.1.0","tslint-no-unused-expression-chai":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.0.1_1563526469147_0.7936523304890599","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@leapfrogtechnology/async-store","version":"1.0.2","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.0.2","maintainers":[{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"}],"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"dist":{"shasum":"128005836b6a91ac499acc3fadf3a5d7bfe42df3","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.0.2.tgz","fileCount":31,"integrity":"sha512-gKBKxlpiGwd3hUtwtjk9oUb7qU+txP+W1/ioa9gjIVhK1nW1w9OQHKkPH6kgHPygFDTbRL8rsWOSlv1GgbwmZw==","signatures":[{"sig":"MEUCIQDqCVXRZHgWy2IfCktUX2vLnxuVQP7MeG4OICrpXUiUeQIgKUMhCpx8Lg3dFISFc4GcDii8xbpfbor0fBMXDniHUFI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQUiwCRA9TVsSAnZWagAAAT4P/Rj4eaVaCZw7gtZfwT+Y\nHtqa5DzE3ezxxffVBSw7dTq9dUgTuz6LhlQUwhaRwvHo2cUZFxOJUgnSt6ov\nw2LC7/cv3tG3H8rMJAgLCiPwrD5S/4cBtULcNjDwjPBymyODboP80+4x4Xjb\nvO5l9tApxxa7d4HiwSKPBulJOECEp8vEYn0YIKWZq40FoCBEodzQZJQHX6SH\nnYIldgPvtYX1IBJV3CNNidFvMZldtFuflNC3AwflOcNjfRhTbrmejk1vyXyy\nvcK7dtNgh8ggocuNFplxVRdB8vIORQQ2gxdJPBqDnvcuZ+XC/okF+VP3ccLC\nqNlm0kPt/JXats9Go1OGFXBXbGgv+AVGOdizw/KC9A1O3ICrZK+r7pJ2DV3c\ngA5P0Qy5Y0tvoIuf0FDYU7QCOoxgxI69qg9b4bpzUbgBMSRq46o7bn1AvPlI\nC/obw40M0NyAnLb1EGgThyIbaE9om3CtbWFk8KQtkXNjQl7JxO9zSn4k+f86\ndnD/fwUY8ql+0Mx+fpMt2vsN0eCGPN+8k55zDmevkhUwAblYFYqtZql+LTRR\nrSgx6QLDG4FHsZzP65WIkk6ckqNRNbf7+4Vq+Tzuzd78h8KVW4GUK1AVgG5x\n8GTKVCuOwM8sXyZIXeCt0gvnkfXkDPs6vhw5OP5OsMem4ZOvkiQPDPgEvUEM\nL7MU\r\n=7lC/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"scripts":{"lint":"tslint -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","test":"NODE_ENV=test mocha --recursive test/**/*.test.ts","build":"NODE_ENV=production yarn clean && yarn transpile","clean":"rimraf dist","watch":"tsc --watch","release":"./release.sh bump","lint:fix":"tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","prettify":"prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","changelog":"./release.sh changelog","transpile":"tsc","test:watch":"NODE_ENV=test mocha --watch --recursive test/**/*.test.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"},"repository":{"url":"https://github.com/leapfrogtechnology/async-store","type":"git"},"description":"Global store utility for an async operation lifecycle and chain of callbacks","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js}":["tslint --fix -c tslint.json","prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","git add"]},"dependencies":{"uuid":"3.3.2","debug":"4.1.1","ramda":"0.26.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^3.0.0","mocha":"^6.1.4","tslint":"^5.18.0","ts-node":"^8.3.0","prettier":"^1.18.2","typescript":"^3.5.3","@types/chai":"^4.1.7","@types/uuid":"^3.4.5","lint-staged":"^9.2.0","@types/debug":"^4.1.4","@types/mocha":"^5.2.7","@types/ramda":"^0.26.15","@types/express":"^4.16.1","chai-as-promised":"^7.1.1","tslint-config-leapfrog":"^1.0.3","tslint-config-prettier":"^1.18.0","@types/chai-as-promised":"^7.1.0","tslint-no-unused-expression-chai":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.0.2_1564559536023_0.3303047214118793","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@leapfrogtechnology/async-store","version":"1.1.0","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.1.0","maintainers":[{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"}],"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"dist":{"shasum":"91cc5a29e9c0926366767f648d3f6b75f46b99d8","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.1.0.tgz","fileCount":31,"integrity":"sha512-6y+KcdHscnsfFcXO76QRm8bo8xb3F5vTQPFQjuIbYO3IU4YtoyZNezWGVR+MFAVwL8FUikscw31YNksrtvvL5g==","signatures":[{"sig":"MEQCIHCkzIDOakADey0p++moyR1CF3ZKt2Lf6glD9WHKM/WmAiA2l1hHnPUpnpzmDgNsH31xh4HUzvyG9Y9JY8+RYXInSQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzUX3CRA9TVsSAnZWagAA/80P/1dm2ON6h2woX5CcbRw5\nBhXgMy58TcfGMYgPHGUOfZ2xOGipCKo/XiGqnw+SCvpfq+kNZinIqGHR9Lji\nWu4S/+NEcjlOGfwDqf48DIlBeNOrWo0P8/RZ+NNp+fIWqfA9xMk4+JrB3BkW\nB34Ei+nUFexMGnI8Oi8qScsesoGBd6X93Yno4KcKrMNhoziRC4jN9Jx9xV7F\nZfLdxnU+7cYqKJaEp+TOSbRWNATt11Skxg0kzYBlA3NbCnvURRPDYCLkqwcc\nI7SkNAxD9OGFB3sIjyZSVzEaQUmCDshDWEDA20EVHA+wLf+hGlXgcGgep9wD\nQ/SgVOTZ9Z88FIV6vc6sHQmrIAr7b7p9xd6w1LLFi1d+bhg7yZPFxSw9APt5\nLZ/BTqJuG9DN+w2H1H8RkdV2bm3tphISn0t1qjM3d24Mo9cDOA7GhOLNHCiL\nTsfmSm44BN3vOOjafXvYhVV+zX62f/PNDzGZbkrt4MI4ZQNveMM0v+piLw6D\nxtkTWkzumwIc/IzoL5pIpE5pfL6xgmOLtpGynLKcl9lQm8WCB1opHwdBNi2t\nXhvhPMNiP0jGo1cbSPNmm2qXLiFeOmRYBT5ayLniRUq8R4sr4Ol7HJxe04Pb\nLm846bYBFLL6PLnOAoVTv1XiaXn3vNV8AaFA0R1pvGtVgI2bZC/XZu0hegJM\n/+3N\r\n=hShI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"scripts":{"lint":"tslint -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","test":"NODE_ENV=test mocha --recursive test/**/*.test.ts","build":"NODE_ENV=production yarn clean && yarn transpile","clean":"rimraf dist","watch":"tsc --watch","codecov":"codecov","release":"./release.sh bump","lint:fix":"tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","prettify":"prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","changelog":"./release.sh changelog","transpile":"tsc","test:watch":"NODE_ENV=test mocha --watch --recursive test/**/*.test.ts","test:coverage":"NODE_ENV=test nyc mocha --recursive test/**/*.test.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"},"repository":{"url":"https://github.com/leapfrogtechnology/async-store","type":"git"},"description":"Global store utility for an async operation lifecycle and chain of callbacks","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js}":["tslint --fix -c tslint.json","prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","git add"]},"dependencies":{"uuid":"3.3.2","debug":"4.1.1","ramda":"0.26.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.7","mocha":"^6.2.0","tslint":"^5.20.0","codecov":"^3.6.1","ts-node":"^8.4.1","prettier":"^1.18.2","typescript":"^3.6.3","@types/chai":"^4.2.3","@types/uuid":"^3.4.5","lint-staged":"^9.4.0","@types/debug":"^4.1.5","@types/mocha":"^5.2.7","@types/ramda":"^0.26.25","@types/express":"^4.17.1","chai-as-promised":"^7.1.1","tslint-config-leapfrog":"^1.0.3","tslint-config-prettier":"^1.18.0","@types/chai-as-promised":"^7.1.2","tslint-no-unused-expression-chai":"^0.1.4","@istanbuljs/nyc-config-typescript":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.1.0_1573733879001_0.311516490983373","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@leapfrogtechnology/async-store","version":"1.2.0","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.2.0","maintainers":[{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"}],"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"dist":{"shasum":"a9162b4075159ed1452e5d48fa21049c508c20ac","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.2.0.tgz","fileCount":31,"integrity":"sha512-u3LNseCs21d8w21OHrY6CY4FRIkeupgJQk65sYaZCO0GtNXBCz/YoS0qqWKnLtUrDWkIYiYusskO06XMg1UbiQ==","signatures":[{"sig":"MEUCIDQnUozSerQa++3y+tTBbcHz73zGEFGmaywl6zLDnSPNAiEAmLCHr3pQO1jr7slM+d8LbamhHMSqPfQjLtKAmy7HK8o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3qWiCRA9TVsSAnZWagAAuQ4P/jx2bLxSYOLVKUzpJjru\nKIWhXNU/t3aWWlvhL9auXivOsgv+HxMnxIrlg9zUGe3XU0VD2B8QkvkmyNnX\nuu7atoIiBX/0URvrcgsLY4rkOQIpSTYD3H5OgZsIvHufG00HBv8y7mNv8De5\ny9H4dudgwq6CWXCs1PnsJYKPqqKQAR5cooDNK0PXew+qyF2Y9CdHhpfbcyEz\nwzflZBW6EQwL8+Ue00kFdvxkjxdg+GehozBD+Ws8zsvGFzu0aLJ8E1DQ6unq\nIXLe5JyHlUHlePJy3+GxTBNZj5wXr82yF1ZQ2K9uNRZ2bq3MDOIz37YjxJ9K\nW3NhRzea67aU7hz2BSMMfGO+awcG2u3NmjLfLHORaOmvKd9FojuF7YdSHwoe\nbAb+wFyPexm197sBmMpqwI99X2GusTVQLe/l/zvt02DR53rB2FfIqe+P9EdN\nPUvC3IGR0ygwheqBHl+cE9Oc0D3Z229T1xGGgdQDdmgfQDPkgen17lDjyKu/\nJdp345jyVbzE0aGjgbtdiClTosDe9Jqfqs+kbf+Ted0X4aQpWjqbSFuWx1uC\nBFJ4LXytQ+/A2PY03mZNoqQsCxjI6kr8SjPL3bvZmCWue8sSdXvnYhE5rzaB\nK+FS1xGFQ0E1v6VebtL6zz71tcLd/wioIFO+WVVA770qw0+WgFhyOYOaKaLZ\ng3is\r\n=pRvG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"scripts":{"lint":"tslint -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","test":"NODE_ENV=test mocha --recursive test/**/*.test.ts","build":"NODE_ENV=production yarn clean && yarn transpile","clean":"rimraf dist","watch":"tsc --watch","codecov":"codecov","release":"./release.sh bump","lint:fix":"tslint --fix -c tslint.json 'src/**/*.{ts,js}' 'test/**/*.{ts,js}'","prettify":"prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","changelog":"./release.sh changelog","transpile":"tsc","test:watch":"NODE_ENV=test mocha --watch --recursive test/**/*.test.ts","test:coverage":"NODE_ENV=test nyc mocha --recursive test/**/*.test.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"},"repository":{"url":"https://github.com/leapfrogtechnology/async-store","type":"git"},"description":"Global store utility for an async operation lifecycle and chain of callbacks","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js}":["tslint --fix -c tslint.json","prettier --single-quote --parser typescript --print-width 120 --write './**/*.{ts,js}'","git add"]},"dependencies":{"uuid":"3.3.2","debug":"4.1.1","ramda":"0.26.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.7","mocha":"^6.2.0","tslint":"^5.20.0","codecov":"^3.6.1","ts-node":"^8.4.1","prettier":"^1.18.2","typescript":"^3.6.3","@types/chai":"^4.2.3","@types/uuid":"^3.4.5","lint-staged":"^9.4.0","@types/debug":"^4.1.5","@types/mocha":"^5.2.7","@types/ramda":"^0.26.25","@types/express":"^4.17.1","node-mocks-http":"^1.8.0","chai-as-promised":"^7.1.1","tslint-config-leapfrog":"^1.0.3","tslint-config-prettier":"^1.18.0","@types/chai-as-promised":"^7.1.2","tslint-no-unused-expression-chai":"^0.1.4","@istanbuljs/nyc-config-typescript":"^0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.2.0_1574872481636_0.4078138321523017","host":"s3://npm-registry-packages"}},"1.3.0-beta.0":{"name":"@leapfrogtechnology/async-store","version":"1.3.0-beta.0","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"license":"MIT","_id":"@leapfrogtechnology/async-store@1.3.0-beta.0","maintainers":[{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"}],"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"dist":{"shasum":"62e3bf5ca3d0de95998bb7b6629489a56fa25104","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-1.3.0-beta.0.tgz","fileCount":31,"integrity":"sha512-pVtTmcuBCPyaN8sMYH/TvhcuacL+x+DBAbb4JmEaHJhX5qLrus3LkcqxyE785K0ZOuxL15kTbBG+Gsuz+uv6aA==","signatures":[{"sig":"MEUCIGs2TgsrL1hOn8Kpc2QEt/OsexZfFvW0YhPQygVsj5MFAiEA6U/X1kAqm3FLdhh64iEvx7tOzZ9h1U2LT3ebFYiCCHY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4TlPCRA9TVsSAnZWagAAepMQAJkRiz2q1k5Hu4uDbuZM\nLMSqXKmXGvbAPe/2xz9BX214jPFM9Jni9gE4+nZhpyx9VsfLM4YX2phDk1vF\ndnW1+v288IPaAPRkf04HRqOckUci8X1xUGvj4b+WxZNoSDDVvViLu5xTdEJI\nO8egSVNmMIZOAJEHS8goWwtRXmDIJK+ZahMsEUrztmqm8To7Jx9D9doxQ58a\nFHGMR5ISp06OkuAQefEgugVesKby1Y0dFG1wbYw+yo2oZC7IJubRZomEypGb\np5uhlnZrUUekKSE+GjuJUy33jJeoZc7NVcFiqvt0hhKMLOzFCStrHX998SW3\nvyNn5HqdzOTMsQMWh3MCT9VbQdmbOd5dTcu49YFS9gWwT39/pDoBGjGNWsWx\nyBlAmkSOKxNehxgs2nH1/28YzryTNS2FXQzLd4T9mvHezBsFfnHp6IBiiern\nMHiz/mSTz9Qh4vf7achvplQFBmcoGx3Ok21sLHJYwJbJKWm3mYBhzmzVFRbC\nABK++FOdX+LXfnzt0MvbmV04Pzg2iQIluleg0g7nmls5YjLl/TiwO+hEpc/V\nCWwonIb5U1HaLOVGu49pfbW9ixMkvX0s/H1RXWtWXpNy8v4V4pwpQ7LNqeyw\nupDf+Vx03KtJsl8xIKW6U+1Qock7oFm7alZs/IbZWf1oBUIsB8uKp+7a/YX8\nvqf7\r\n=xGLz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"scripts":{"test":"NODE_ENV=test nyc mocha --recursive test/**/*.test.ts","build":"NODE_ENV=production yarn clean && yarn transpile","clean":"rimraf dist","watch":"tsc --watch","codecov":"codecov","release":"./release.sh bump","prettify":"prettier --single-quote --trailing-comma none --print-width 120 --write './**/*.{ts,js,yml}'","changelog":"./release.sh changelog","transpile":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"mesaugat","email":"mesaugat@gmail.com"},"repository":{"url":"https://github.com/leapfrogtechnology/async-store","type":"git"},"description":"Global store utility for an async operation lifecycle and chain of callbacks","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js,yml}":["prettier --single-quote --trailing-comma none --print-width 120 --write './**/*.{ts,js,yml}'"]},"dependencies":{"uuid":"8.3.2","debug":"4.3.1","ramda":"0.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","husky":"^5.2.0","mocha":"^9.1.3","codecov":"^3.8.1","fastify":"^3.25.3","ts-node":"^10.4.0","prettier":"^2.2.1","typescript":"^4.1.3","@types/chai":"^4.2.14","@types/uuid":"^8.3.0","lint-staged":"^12.1.7","@types/debug":"^4.1.5","@types/mocha":"^8.2.0","@types/ramda":"^0.27.34","@types/express":"^4.17.9","node-mocks-http":"^1.9.0","chai-as-promised":"^7.1.1","@types/chai-as-promised":"^7.1.3","@istanbuljs/nyc-config-typescript":"^1.0.1"},"peerDependencies":{"express":">= 4.17.0","fastify":">= 3.10.0"},"_npmOperationalInternal":{"tmp":"tmp/async-store_1.3.0-beta.0_1642150222983_0.6931647417411049","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@leapfrogtechnology/async-store","version":"2.0.0","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"license":"MIT","_id":"@leapfrogtechnology/async-store@2.0.0","maintainers":[{"name":"sagarchamling","email":"sagarchamling@lftechnology.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"},{"name":"kabirbaidhya","email":"kabirbaidhya@gmail.com"}],"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"dist":{"shasum":"3dd58c40eb305a7544c1c75472694328f47e1e44","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-2.0.0.tgz","fileCount":31,"integrity":"sha512-SGg31P3zx+vXc7fvzjica0mwtmmFcs7XhstFDarSV0HbbOWOp07exarcoje2wCVn9XOS4HKxO6p3fJZx1MeKoQ==","signatures":[{"sig":"MEUCIQC2QZ5+NVz5OqN/7KPlY16hhvpPWCXQeTgaM2+YAS0MygIgfCHAm6PJEDhY8fbh87hcvgVX/ZgRed20p6IeQ+h22Eg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6RFNCRA9TVsSAnZWagAAUwMP/RwYa0QYbBzg3bVEOoe4\n+bNytzlUhBDFa2WP6QFcPaHiQuwiYEUsASgPRMMrpTfBy2TXMfcxWeWYwW8C\nQT6qulgO9dIWE1yIJ+iv0lnSx1tiaOPwra0wMW7pI1zRfyFtU3RuBTQgZYqb\nRUzmGM1cdlEgSuyuBclOrCpI5lBF2z3rvmdh84U4deBfzRgqtt1AoniWT2j5\nLTsxKQ69h21MIs420EtEI/YIbrELd+bKIODcE6ttOXRxhiX5mNb+R8ZhmP2c\nXZgBac5GhbzzI9Mb0z3nCy//FTM8sgLBm4xy8DkqhD7sb2oUDyz/6RtCGvuL\n+/3v3nRu9uAt//fQH3fwl+/iScALSOnjwDdnZ+OQiSkF6TrG44V7UHkKsf+v\n2FZTJvWet/BCgSgBwfepQU+5Ii9xrVYhdh4dRvbzRUor8x49onUPErDRG1vC\nbi7Ep5Be8wMNV4CUr437VSE6r2lShIWz85JRJcG01Cn0Bfo6UuFx9aK/TCbx\nr8OukL2zoGZp8YV3UL3PJKwlVEMHTXviW5lw8kPR7F8PGuNCb3euikOf7BKH\n8zjSj47JWaaCk4epaejX1k0WwH8BTOkZwckgEcORnsUUzIdtwJwPPlkDmJtS\nFg5e/hUoFA7KP8cKC+0FKdSjzME4dPN4aXkV0rOuXHSCgU8pnDAkySkxPG6y\nAQNg\r\n=t28a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-push":"tsc --noEmit","pre-commit":"lint-staged"}},"types":"dist/index.d.ts","authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"engines":{"node":">= 14.17.0"},"scripts":{"test":"NODE_ENV=test nyc mocha --recursive test/**/*.test.ts","build":"NODE_ENV=production yarn clean && yarn transpile","clean":"rimraf dist","watch":"tsc --watch","codecov":"codecov","release":"./release.sh bump","prettify":"prettier --single-quote --trailing-comma none --print-width 120 --write './**/*.{ts,js,yml}'","changelog":"./release.sh changelog","transpile":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"mesaugat","email":"mesaugat@gmail.com"},"repository":{"url":"https://github.com/leapfrogtechnology/async-store","type":"git"},"description":"Global store utility for an async operation lifecycle and chain of callbacks","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{ts,js,yml}":["prettier --single-quote --trailing-comma none --print-width 120 --write './**/*.{ts,js,yml}'"]},"dependencies":{"debug":"4.3.1","ramda":"0.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","husky":"^5.2.0","mocha":"^9.1.3","codecov":"^3.8.1","fastify":"^3.25.3","ts-node":"^10.4.0","prettier":"^2.2.1","typescript":"^4.1.3","@types/chai":"^4.2.14","@types/node":"^14.17.0","lint-staged":"^12.1.7","@types/debug":"^4.1.5","@types/mocha":"^8.2.0","@types/ramda":"^0.27.34","@types/express":"^4.17.9","node-mocks-http":"^1.9.0","chai-as-promised":"^7.1.1","@types/chai-as-promised":"^7.1.3","@istanbuljs/nyc-config-typescript":"^1.0.1"},"peerDependencies":{"express":">= 4.17.0","fastify":">= 3.10.0"},"_npmOperationalInternal":{"tmp":"tmp/async-store_2.0.0_1642664269016_0.9458968476865379","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@leapfrogtechnology/async-store","version":"2.1.0","description":"Global store utility for an async operation lifecycle and chain of callbacks","license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/leapfrogtechnology/async-store"},"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"scripts":{"transpile":"tsc","clean":"rimraf dist","codecov":"codecov","build":"NODE_ENV=production yarn clean && yarn transpile","test":"NODE_ENV=test nyc mocha --recursive test/**/*.test.ts","watch":"tsc --watch","prettify":"prettier --single-quote --trailing-comma none --print-width 120 --write './**/*.{ts,js,yml}'","prepublishOnly":"yarn build","changelog":"./release.sh changelog","release":"./release.sh bump"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"tsc --noEmit"}},"lint-staged":{"*.{ts,js,yml}":["prettier --single-quote --trailing-comma none --print-width 120 --write './**/*.{ts,js,yml}'"]},"keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"authors":["Kabir Baidhya <kabirbaidhya@gmail.com>","Sagar Chamling <sagarchamling@lftechnology.com>"],"dependencies":{"debug":"4.3.4","lodash.merge":"^4.6.2"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@types/chai":"^4.3.4","@types/chai-as-promised":"^7.1.3","@types/debug":"^4.1.5","@types/express":"^4.17.17","@types/lodash.merge":"^4.6.7","@types/mocha":"^10.0.1","@types/node":"^14.17.0","chai":"^4.3.7","chai-as-promised":"^7.1.1","codecov":"^3.8.1","fastify":"^4.16.3","husky":"^8.0.3","lint-staged":"^13.2.2","mocha":"^10.2.0","node-mocks-http":"^1.12.2","nyc":"^15.1.0","prettier":"^2.8.8","ts-node":"^10.9.1","typescript":"^5.0.4"},"peerDependencies":{"express":">= 4.17.0","fastify":">= 3.10.0"},"publishConfig":{"access":"public"},"engines":{"node":">= 14.17.0"},"licenseText":"MIT License\n\nCopyright (c) 2019 - present Leapfrog Technology Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@leapfrogtechnology/async-store@2.1.0","dist":{"shasum":"9b1d60e427e388bafc6c993719af40593002328b","integrity":"sha512-JCS6FOSwJpYulOQ1T+xi5Kk7nUoK5aRGPLGUJ03vL/1BGsDe3W/DE8SpJPPhe4hJAtZXDSuPN4GpgJ0sRoY79g==","tarball":"https://registry.npmjs.org/@leapfrogtechnology/async-store/-/async-store-2.1.0.tgz","fileCount":31,"unpackedSize":74113,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDivfaWuM8/7sl2NxOpWHYFeUiJJk1AwahEDFwUxNAzggIgS0Xh80studXiH404JBedmBGa5UN7cEIs43ryBRK0Evo="}]},"_npmUser":{"name":"mesaugat","email":"mesaugat@gmail.com"},"directories":{},"maintainers":[{"name":"leapfrog-bot","email":"bot@lftechnology.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-store_2.1.0_1724237198242_0.909991616800198"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-18T04:42:18.111Z","modified":"2024-08-21T10:46:38.683Z","1.0.0-alpha.1":"2019-04-18T04:42:18.388Z","1.0.0-beta.1":"2019-07-05T05:11:50.462Z","1.0.0":"2019-07-19T06:40:14.157Z","1.0.1":"2019-07-19T08:54:29.290Z","1.0.2":"2019-07-31T07:52:16.206Z","1.1.0":"2019-11-14T12:17:59.141Z","1.2.0":"2019-11-27T16:34:41.804Z","1.3.0-beta.0":"2022-01-14T08:50:23.127Z","2.0.0":"2022-01-20T07:37:49.160Z","2.1.0":"2024-08-21T10:46:38.464Z"},"bugs":{"url":"https://github.com/leapfrogtechnology/async-store/issues"},"license":"MIT","keywords":["typescript","javascript","node","async","store","thread-local-storage","local-storage","async-storage","request-context","context","callback-context"],"repository":{"type":"git","url":"https://github.com/leapfrogtechnology/async-store"},"description":"Global store utility for an async operation lifecycle and chain of callbacks","maintainers":[{"name":"leapfrog-bot","email":"bot@lftechnology.com"},{"name":"mesaugat","email":"mesaugat@gmail.com"}],"readme":"# Async Store\n\n[![npm](https://img.shields.io/npm/v/@leapfrogtechnology/async-store.svg?style=flat-square)](https://www.npmjs.com/package/@leapfrogtechnology/async-store)\n[![Codecov](https://img.shields.io/codecov/c/github/leapfrogtechnology/async-store?style=flat-square)](https://codecov.io/gh/leapfrogtechnology/async-store)\n[![LICENSE](https://img.shields.io/github/license/leapfrogtechnology/async-store.svg?style=flat-square)](https://github.com/leapfrogtechnology/async-store/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/leapfrogtechnology/async-store#contributing)\n\nGlobal store utility for an async operation lifecycle and chain of callbacks. It is a utility tool similar to [continuation-local-storage](https://github.com/othiym23/node-continuation-local-storage) which allows us to set and get values that are scoped to the lifetime of these chains of callbacks.\n\n**Note: async-store uses [domain](https://nodejs.org/api/domain.html) Node.js module under the hood.**\n\nIt is recommended that you read about domain before using this package.\n\n## Installation\n\n```sh\nnpm install @leapfrogtechnology/async-store\n```\n\n```sh\nyarn add @leapfrogtechnology/async-store\n```\n\n## Version Compatibility\n\n| Node Version      | Async Store Version |\n| ----------------- | ------------------- |\n| 14.17.0 and above | >= 2.0.0            |\n| 14.17.0 and below | >= 1.0.0 < 2.0.0    |\n\n## Usage\n\n### JavaScript Example\n\n```js\nconst store = require('@leapfrogtechnology/async-store');\n\nstore.initialize()(callback);\n\nfunction callback() {\n  store.set({ foo: 'Hello', bar: 'World' });\n\n  Promise.resolve()\n    .then(() => {\n      console.log('Value of foo: ', store.get('foo'));\n    })\n    .then(() => {\n      console.log('Value of bar: ', store.get('bar'));\n    })\n    .then(() => {\n      console.log('Value of foo: ', store.get('foo'));\n    })\n    .then(() => {\n      console.log('Value of bar: ', store.get('bar'));\n    });\n}\n```\n\n#### Output\n\nOn initialization the following output in the console is seen:\n\n```\nValue of foo:  Hello\nValue of bar:  World\nValue of foo:  Hello\nValue of bar:  World\n```\n\n### TypeScript Example\n\n```js\nimport * as store from '@leapfrogtechnology/async-store';\n\nstore.initialize()(callback);\n\nfunction callback() {\n  store.set({ foo: 'Hello', bar: 'World' });\n\n  Promise.resolve()\n    .then(() => {\n      console.log('Value of foo: ', store.get('foo'));\n    })\n    .then(() => {\n      console.log('Value of bar: ', store.get('bar'));\n    })\n    .then(() => {\n      console.log('Value of foo: ', store.get('foo'));\n    })\n    .then(() => {\n      console.log('Value of bar: ', store.get('bar'));\n    });\n}\n```\n\n#### Output\n\nOn initialization the following output in the console is seen:\n\n```\nValue of foo:  Hello\nValue of bar:  World\nValue of foo:  Hello\nValue of bar:  World\n```\n\n### Express Example\n\n```js\nconst { randomUUID } = require('crypto');\nconst express = require('express');\nconst store = require('@leapfrogtechnology/async-store');\n\nconst app = express();\nconst port = 3000;\n\n// Initialize async store\napp.use(store.initializeMiddleware());\n\n// Set request Id in store\napp.use((req, res, next) => {\n  store.set({ reqId: randomUUID() });\n  next();\n});\n\n// Get request Id from store\napp.get('/', (req, res) => {\n  const reqId = store.get('reqId');\n  console.log(`Request Id: ${reqId}`);\n\n  res.json({ message: 'Hello World', reqId });\n});\n\napp.listen(port, () => console.log(`Example app listening on port ${port}!`));\n```\n\n#### Output\n\nOn request to `http://localhost:3000`, the following output in the console is seen:\n\n```\nExample app listening on port 3000!\nRequest Id: 03d8bd27-9097-427a-9460-7d8d9576f156\n```\n\n### Fastify Example\n\n```js\nconst { randomUUID } = require('crypto');\nconst fastifyPlugin = require('fastify-plugin');\nconst store = require('@leapfrogtechnology/async-store');\n\nconst fastifyServer = require('fastify')({ logger: true });\n\nconst port = 3000;\n\nfastifyServer.register(fastifyPlugin(store.initializeFastifyPlugin()));\n\nfastifyServer.register((fastifyInstance, opts, done) => {\n  fastifyInstance.addHook('preHandler', (req, reply, done) => {\n    store.set({ reqId: randomUUID() });\n    done();\n  });\n\n  fastifyInstance.get('/', (req, reply) => {\n    const reqId = store.get('reqId');\n    console.log(`Request Id: ${reqId}`);\n\n    reply.send({ message: 'Hello World', reqId });\n  });\n\n  done();\n});\n\nconst start = async () => {\n  try {\n    await fastifyServer.listen(port);\n    fastifyServer.log.info(`Server is listening at ${port}`);\n  } catch (err) {\n    fastifyServer.log.error(err);\n    process.exit(1);\n  }\n};\n\nstart();\n```\n\n#### Output\n\nOn request to `http://localhost:3000`, the following output in the console is seen:\n\n```\n{\"level\":30,\"time\":1641890535421,\"pid\":12489,\"hostname\":\"macbookpro\",\"msg\":\"Server listening at http://[::1]:3000\"}\n{\"level\":30,\"time\":1641890535421,\"pid\":12489,\"hostname\":\"macbookpro\",\"msg\":\"Server is listening at 3000\"}\n{\"level\":30,\"time\":1641890539755,\"pid\":12489,\"hostname\":\"macbookpro\",\"reqId\":\"req-1\",\"req\":{\"method\":\"GET\",\"url\":\"/\",\"hostname\":\"localhost:3000\",\"remoteAddress\":\"::1\",\"remotePort\":51539},\"msg\":\"incoming request\"}\nRequest Id: aa6e86e9-c9d4-414a-8670-9aeaf2a8d932\n{\"level\":30,\"time\":1641890539759,\"pid\":12489,\"hostname\":\"macbookpro\",\"reqId\":\"req-1\",\"res\":{\"statusCode\":200},\"responseTime\":3.7935830000787973,\"msg\":\"request completed\"}\n```\n\n## API Docs\n\n### initialize()\n\nInitialize the async store based on the adapter provided.\n\n- `@param {AsyncStoreAdapter} [adapter=AsyncStoreAdapter.DOMAIN]` - Async store adapter to use.\n- `@returns {(params: AsyncStoreParams) => void}` - Returns a function that takes a callback which will be triggered once the store has been initialized.\n\n```js\nconst store = require('@leapfrogtechnology/async-store');\n\nstore.initialize()(callback);\n\nfunction callback() {\n  // Do something with the store.\n}\n```\n\n### initializeMiddleware()\n\nMiddleware to initialize the async store and make it accessible from all the subsequent middlewares or async operations triggered afterwards.\n\n- `@param {AsyncStoreAdapter} [adapter=AsyncStoreAdapter.DOMAIN]` - Async store adapter to use.\n- `@returns {(req, res, next) => void}` - Returns the express middleware function.\n\n```js\nconst express = require('express');\nconst store = require('@leapfrogtechnology/async-store');\n\n// Initialize async store\napp.use(store.initializeMiddleware());\n```\n\n### initializeFastifyPlugin()\n\nPlugin to initialize the async store and make it accessible from all the subsequent plugin or async operations triggered afterwards from fastify server.\n\n- `@param {AsyncStoreAdapter} [adapter=AsyncStoreAdapter.DOMAIN]` - Async store adapter to use.\n- `@returns {(fastifyInstance, opts, next) => void}` - Returns the fastify plugin callback.\n\n```js\nconst fastify = require('fastify');\nconst fastifyPlugin = require('fastify-plugin');\nconst store = require('@leapfrogtechnology/async-store');\n\n// Initialize async store\nfastify.register(fastifyPlugin(store.initializeFastifyPlugin()));\n```\n\n### isInitialized()\n\nCheck if the store has been initialized or not.\n\n- `@returns {boolean}` - Returns either true or false.\n\n```js\nif (store.isInitialized()) {\n  // Do something.\n}\n```\n\n### set()\n\nPersists properties in the store.\n\n- `@params {any} properties` - Persist properties to set in store.\n- `@returns {void}`\n\n```js\nstore.set({ foo: 'Hello', bar: 'World' });\n```\n\n### get()\n\nGets a value by a key from the store.\n\n- `@params {string} key` - Key to get from the store.\n- `@returns {any}` - Returns the value persisted in the store by `key` which could be `null` if key not found. Any error caught during the retrieval will be thrown and cascaded.\n\n```js\nconst foo = store.get('foo');\n```\n\n### getAll()\n\nGets all values from the store.\n\n- `@returns {any}` - Returns all values persisted in the store. Any error caught during the retrieval will be thrown and cascaded.\n\n```js\nstore.set({ foo: 'Hello', bar: 'World', baz: 'Baz' });\n\n// Get all the values from the store.\nconst values = store.getAll(); // { foo: 'Hello', bar: 'World', baz: 'Baz' }\n\n// De-structure and get only few of them.\nconst { foo, baz } = store.getAll();\n```\n\n### getByKeys()\n\nGets multiple values from the store for each of the keys provided.\n\n- `@params {string[] keys}` - Keys to get from the store.\n- `@returns {T[]}` - Returns an array of values. Order of the values is same as the order of the keys in the array.\n\n```js\nconst [a, b, sum] = store.getByKeys(['a', 'b', 'sum']);\n```\n\n### find()\n\nGets a value by a key from the store. If anything fails, it returns `null` without emitting error event.\n\n- `@params {string} key` - Key to get from the store.\n- `@returns {any}` - Returns the value persisted in the store by `key` which could be `null` if key not found. Any error caught during the retrieval will be supressed and `null` value is returned.\n\n```js\nconst foo = store.find('foo');\n```\n\n### getId()\n\nGets the unique store id created for the current context/scope.\nExample: If used in express, it returns unique store id per request.\n\n- `@returns {string | undefined}` - Returns the unique store id.\n\n```js\nconst requestIdentifier = store.getId();\n```\n\n### getShortId()\n\nGets the short unique store id created for the current context/scope.\n\nNote: This is same as `getId();` the difference being it only returns the first 8 characters.\n\n- `@returns {string | undefined}` - Returns the short unique store id.\n\n```js\nconst requestIdentifier = store.getShortId();\n```\n\n## Example Projects\n\n1. [Node Web Server (TypeScript)](examples/node-http-server-ts)\n2. [Express Web Server (TypeScript)](examples/express-http-server-ts)\n3. [Koa Web Server (TypeScript)](examples/koa-http-server-ts)\n4. [Fastify Web Server (TypeScript)](examples/fastify-http-server-ts)\n\n## Changelog\n\nCheck the [CHANGELOG](CHANGELOG.md) for release history.\n\n## Contributing\n\nAny types of contributions are welcome. Feel free to send pull requests or create issues.\n\n## License\n\nLicensed under [The MIT License](LICENSE).\n","readmeFilename":"README.md"}