{"_id":"async-await-mutex-lock","_rev":"15-fb0b03c13c4666ef3254204be3a0761b","name":"async-await-mutex-lock","dist-tags":{"latest":"1.0.12"},"versions":{"1.0.0":{"name":"async-await-mutex-lock","version":"1.0.0","author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.0","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"fd54bd37609815462eb83b32eea569498a990893","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.0.tgz","fileCount":8,"integrity":"sha512-G+5oODi9KCtqQ6XQ154Ge982pEb3UmBK5az//R50wGXmYfm6Dx9dwB/7UhYvq+b9iEGxKukZrQeF9b8mDW8stw==","signatures":[{"sig":"MEQCIH2znLyJ068OA3UEtsDsMg+voMpJDERH849RyQ2mP4p5AiA4Zw9suy1nR4l1jb+oXSlXghnoiZVK2B7s5JQUhWIE0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3xQkCRA9TVsSAnZWagAAkN4QAJEIkf5VORleP2gnXD5T\ndN3eTIlTbIP9skRBHCT6y4BxJmPHjsP7yojUt7dOZNsCMkbbXlasX5qSg6kE\nQbm3dPhmN+LWHpKYAXJwhGL1Aw36OO8Ttvd7oVhj8b2uitZc14J1ykTWJJks\n/MoKz8LIiEXEdMPPNXlTBfdrAe7PjLYtIirOV0gftiX0I8RLyg3d6G84KLTH\ndzvTeTetDjKZfc4wbbCCdGJ1EcplZtndHEYESuiC3K/wSOiHeR22cqL6CbZS\nfJGEsAAOwkdb0tDYl60Iz6H0aVIhdxnag+2CGOvRNuvruwEW/qu5b3GZh5O3\nBQ+4C599gUVsRO3F3uexokcZA6heMRgCOpFwmIplTNUmQEyo6l5WghtM65Fs\nrCVTcmAlTCFq5MH47+w9nGI7ujw76RC8hcpMYKNfGytn/SMd3EZdTr56wsVX\nA2TBFt/x5UP74IZ939ZNC3jo4rAW2gmbQZqpB8NogSz2PF6MdYgsG4i8wGOQ\nPunHMKbCyTGMFaCnrgdgE399hrzLrPcPuQbABYOst4OerpFNyJgedj+Fo90j\nxR21vgSHJ2lGq/ezDX1ZNmDRt3P7mPD9CtPSO0DKlVt1Ehn8uljlM8ad1mhp\nh37EXeaOP29WA68sV8t2ITeUGhttOn3MJ4EffqTENk5crPcizxfKCB6MyblF\nezMy\r\n=2QEO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"index.js","gitHead":"8a9202b52229d60b3cf5240a3d97342a11cc6b32","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.4","description":"Mutex locks for async functions with functionality to add keys for separate locks","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.0_1591677988369_0.9391556599148279","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"async-await-mutex-lock","version":"1.0.1","author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.1","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"b95bc470029ea447a9354a5216c240491f8bce79","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.1.tgz","fileCount":8,"integrity":"sha512-8UEaCjR8Bir75DSNscQvIGwdhrLjjv1/W44o5FiDLcgFhunxkBgmV/4BCKhBq+xwn7o92GxrUxk3cbRRhT7eVA==","signatures":[{"sig":"MEUCICpT18AOsWEoa2vpJA1cwsaLpDVdwydRgXtugM6iHFbIAiEA1mgA0hRbqEE56X3W9+kPu1R/V75XgJd0brP3btspJuk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3xaZCRA9TVsSAnZWagAAOWgP+gMp0bZf7RhoyPzpHfN/\n1ALptzpAyl3MXs/K92sgT4kEzA6pozVvKEkbCjl9IO65b0+09QFsxh738fBm\nxq7gdnrOXneLOD9QKyz/RDJJwoA2Zh1dF/9nArESsgQH8rUaIgbVEiM1AlEI\npnJltwrimH33HOhSCSkf5/8hzVtHZpgnvRDFWvp//dzCOIp9rlC2/ntUfxz+\nRMjB7ltcmlZMa5xZyiQyYQ2kc+34xbZhwOb9qFfEyE3eNffEoOr60BEMzcBk\nugPB+lJldNudasrzmQeVeU4qPKZXZyDiCPoZhuF4U112KAUI9JTcMnrfLb1c\nvR6c05qQ2vK1sMAzA92a/4YZIlky+PKi2kJ8mL9Of2pMQ8Dz5msoFIghk32Q\nw5y3ZIbMQjT+b2mce1rthQ3Qc8GiZtHO+kmi+t1Vl/ZXWTAmVI8gdKWIChBg\nvbLCacCX3Z/YZfdM7y+nmRgUH+ZxI1sjld6OvAcNCzkzBWlHYtX3qEPd8Blt\nQ4d800O+6UJNO3Ez5S9X/d5xLhstNJ2pilGwZSuY33/eiIwXaFjl1G5VsFvt\nakxHPJ0+9BwTi1s+Zi9OQdDkQkgpDHEVZ0aCt+I6uocLMiH2SP3Mv0aw3oww\n/Y0lzL59+BCzYe1/83s4xalvkcCyJnOV8obNSnoHJ/gJmAt3sLlxJK2fxIus\nhJXt\r\n=UZW9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"index.js","gitHead":"591c7472a751dfc75208c0948d26c6404f30863f","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.4","description":"Mutex locks for async functions with functionality to add keys for separate locks","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.1_1591678616841_0.9634457414920912","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"async-await-mutex-lock","version":"1.0.2","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.2","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"fbdd88742e40daf27ce3ca5d3663589ea0173b36","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.2.tgz","fileCount":8,"integrity":"sha512-vukucmTLmCGfMU5iLeG9nhLYZJvlFsog597rBkbfGddP/1gr6pootnF1FflsE4kQ/EXPbZN84K+iIHCJmk6hig==","signatures":[{"sig":"MEUCIHpkdLf29/Gd0IN1ciucLOF8HCiTMpJvCiHEVBD8CpJNAiEAzqDlofXi2PJmPezxOgmmsPIqtXglTAlNvqrCildFRYM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3xwyCRA9TVsSAnZWagAAzF8P/0CYMRmTOfcH6ZtiCZMY\n1/5TxFcDND+veq0kdDydZlDitnWYZ1RRZSc+iSOKAmhVutlkuh6PCJrcsCnW\nzgYmu/jPMeIkCJgZpjy+5Ua69lb7FnhnWY6s7vpkJNb0acCYuU2RkgCJXy0Z\niRCgXLKC7OOVfPhqMrwquqv4SjO3JHEUE9b0OKrCNkgrmvgkOxoYVXujEbue\nrLwqyxJYm1gzNn7oyroN+JJ9cC8ZIPFVGKggjjlHtBtYt4jgtEtr68bDu0iG\nHqsq/Iq7FrdLr2N8f5fMkwQtMLIIkmClbX1n1mH+1gNK5l7SrGfUq36Ao+Ek\nT8Z3FoLTIYYVYPgVVZfIdcY0ogS+R9P93ztc7tEL8JdxBgTqsx2E2d5UqFMK\nh5jLqu+bM5CpIstD9ez6wa22C7Fy34BI3cdcJdxcfwIC978xPPcMO/3FC8jR\nkW3J/TFx5iyAX8CeHrOFiwhtvPv2PPEQzD/VmrTdJy6FRFvFfw+eeBIWn6sR\nvnzM4QvwJpQIpKkx7tomHewcump7i1Pl93wa+1DP06AVgY0gkHvv/ByMxPdv\nqisXiXX8LFZtYRUwVonB8omDjG6NIdihg2c6NnB79li2oq9Lwisyg38A80k0\nRhcOMHllFCcWBBCi5rIMgjdrMbrvqYPajhKutIaa4z27A8g2i7edVsLpUv53\nsWE1\r\n=jD+i\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"index.js","gitHead":"97b53791fbbaac1a5a1e08f220bad1bdd6a19b5e","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.4","description":"Mutex locks for async functions with functionality to add keys for separate locks","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.2_1591680050163_0.6054080093103169","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"async-await-mutex-lock","version":"1.0.3","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.3","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"1f6863e68e2fa5d5f0d0fb9c2e7bf71306de434c","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.3.tgz","fileCount":8,"integrity":"sha512-G9dfd6/HTqLZ+hbft/RsRA5UGlRTCAWnK3xpal0VY+GGNkrUNUbk0LjpIsOFJpMtTtWjZBUCn2SQ8iwYtnPWSA==","signatures":[{"sig":"MEQCIEi9xDjllKaojl+nTJlt7wXh46vpS5WLnw2wXV9F9A/2AiAmStqwWK7DZVgFOO2ZzAypE1J24lFMIk4nwk60Nz7b0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3x2ICRA9TVsSAnZWagAAfm8QAIpj0byJqs4hNrSfLM5e\nq+AkgX7QNFq0LkFpgNup7fgc83kMJaQBHK0k0gIOE0eS1O5G2bZarypv6hF9\nkkNaBEPvC+6o5O9VOJ8Ws8E5lkPJbkOjg+Bz99TsGa7IyJxI8DX4cwbLFvBi\nRNuZussHTuB81ylDOZ+8c7J1pszdxJ0r3ihnAFkzdGVpNKLQO3kvWEzqR/g6\nBV+jWgztuO8d8yqBITF41SnlQNvpQKbJ2Ou4we0ReS5D7i00/Je8HD35EvID\nCbuWCBVSFOorAJ+4OZJJbLEdl8Iyp/1gza/E31WsL3lUnmGuBwuU55KUBVKE\nBKRzeY01IzPX76j6CNhVzKa+4u6B0w+1EmqEgxbqQn6sI1gNusw4X7RVwrUS\nijDrtXOBN481JGLgDOaX50qDwc2kvsFqYpxXYK+Bi+tt2KSNuIoKzQTDl2u7\nry6ssBoKt4YFyzqu+XeM2m5mas8JCsN2dM3kBB7oXVoSH7alrhcsKTb7Fv4L\nMrGgm7YOQ20GqWeFflF88Dq4aoCLm03jHHCm6G/iEj233aLL1JXFdLiQ7rzW\nEQqYLpSAEpPIKzBHlcOo8AddUlGAEW22ST+XThO82I0MoSR9qLrojqRKStxN\nMRqQiUfWOYLbz12Sg7xYU821wDos4AfYoDvKvd13ogMdR6Uve9eF0dbI3LBA\nUkbi\r\n=su54\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"index.js","gitHead":"0ccf3544bd09778e7110612f30e3e6f6488284ef","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.4","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.3_1591680391573_0.5447351888619598","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"async-await-mutex-lock","version":"1.0.4","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.4","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"9f9ed20ee046439d58099565f6d53620eecbf6b2","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.4.tgz","fileCount":8,"integrity":"sha512-na/TnQIcOv2qePmeee0B9P8MkAsPk/mVYHbToBuXaf7dKh1gwEyFdmpaLHlgM69I246LbQ/NEiq5qPsc86C/ZQ==","signatures":[{"sig":"MEYCIQCW72USQQSSeiJGODMEE5ctwAKjb51qHImSO2tvcMsvAQIhAJo22gP9reS3vQmKuHU6ATl5OzLAXbc+UsBZx0OQeR5Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3x5rCRA9TVsSAnZWagAATXwP/ROe0nrssYOqqyV48/u7\nkpDNRIjWNFA9R23meog9u6Yg6zdCJnFAYhK2Qy3JZzIeLVU1V0KnWpjSjXrX\nmeuAI6QYJXwOcnr0ZNa3BAgfxKbaS2u2pwYd+XgSp8QaQ6wRUmaYOV3KMVJl\njdfGCGx1VBq5g4INx3xpZi+wglE6RqGePKJG8aY2K72Zji1N2DJcGypTrXnJ\nE1ANikh+GUhSDH+QuKvI4CgGZjRUiJuTkbb4UyS2CMDb7yeN/bKuzepsMIpK\nD8I2OAXZpVc9+oaLm4acxV5x/GBODfqqnscyt11L6eqxvo+wc4593GGVBYhr\nkwfeJ/5InJ0t5jtuvqknkgch6QUKEHaVQ4XoEaUgmMQVxPz74/utFRBRUo1z\nHgs02mdNygGAbbXqIwAx60ixqGORi8RNPeW37BQNfuNSwElGa38QHvDUC9Dn\n+U/uUGbCqB6SjNuqvH7ZVi2F5pqqya9PqnC6AlhfGSTei6PYOHI0N18O59Cv\nKkQp9l2qZR8mBs5OQmMYxzknzKgpf52NSM6IxbxnJKUu2jmgBbHftdgtk0qK\nKnNlM+LvB6PcBVQqidQeRquBWU49Ys27MU7errcHdxxFG2rw813DU5Soa0Yb\n1YJjnKKrWEAjrjpffBYOvd/eag1i6VtGdnxQrAXoNBzSE+wCGQojRCdoWi3j\nLPGm\r\n=BBO0\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"index.js","gitHead":"58c20d9a5a719c28fa2a34b649cbc1edfec435d0","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.4","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.4_1591680618782_0.1849523211864097","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"async-await-mutex-lock","version":"1.0.5","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.5","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"4cc74b25e8ecf40fe2e5ca271bcab11df3b9fdad","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.5.tgz","fileCount":8,"integrity":"sha512-CCCzffg3+r7mjYh6TDugek42At0NH5LGIKwBgboNnw2yZed05NA5xPRK97soV66nGvO/oAqXrXKTBVhvN6oVVw==","signatures":[{"sig":"MEUCIQDbmOW3sLyNZ582Ay09UmVfxXiOIPXZaqvjbdOd4X1n3wIgYCItjPCOBoYFi7L8ExW9O8UJtIRRy/zp29AVgp11R0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe36DwCRA9TVsSAnZWagAATDYP/3vcssHv/Uru6ohLCebD\nSx7bYtv2VKfAXwW2caolWuP0vvSIH9etn1pElt/4SCzh6pbCPXa3kLpwbjTb\nkNuItTB4MQshzGDu2C7s1RwHqy9xCd0/M1wO/N4doW2TShwJsHmP9wGkaDKE\ngKE4znJwevmvQzM6BdwnhagGKinmrKBK//kA5h+KnYp1TOQQ1uC9196g3XFA\n/atFf9L3N3mifa0ZQn+vHauX6nI0lbIjtV/UVkgQwNbxFrmPUJVqH92QKFQa\nK72hslGcvfh9tmVHSIhVBYFNUl1WZg0xvqSxoHHvvTl/qU5xctnkwncqXIWy\n76rKZS4gyiDRPbMlWDCk2lBJ+Y/Dp+63ZdOOWpGr+ewkVuRtIHuK9Dsch0hJ\nv4h3GYNd2ebv7GktK79qSPQ457mkcn2cR/k3FgUpgBDa2jfSi6V45r0WcqCz\nEsaw11jinxATUJTwuYzYbrtecFQaw7AX8mPbDxFIUWDsCKKRp6qtZjxs8egQ\nozHlcQ4St4QktnTxz3Fp98NAlWk9Oj1Ddb0nKJN01l3479SYEgaK1MIddUaf\ng4aAMAI4uhBtPOYh7diy6pcYDEBCA3ndMQ4MYzIa5lsiSxsY8i9K1yuTyH18\nTdXdoZ3K3wuqoNNj2JNgFY7fw+TJk5WTtD46/pWkNmTGd67nQjnkiSndCiaY\n9RCO\r\n=4iSs\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"index.js","gitHead":"9861a4581118ac1813a57ea4374b5575a3b9d204","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.4","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.5_1591714031571_0.16226909510077636","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"async-await-mutex-lock","version":"1.0.6","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.6","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"c385296ed7104ac2a4a4a3d9e35805c944bb009e","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.6.tgz","fileCount":16,"integrity":"sha512-P8+2YcOOlbuhG3ElfQHfEm23FfmbuzalYbgPo1bbFB/qbqrqKhuCpszPjyDy0F3975Nx/UxrcE0ugNdVrGXn1w==","signatures":[{"sig":"MEUCIA3jQDLUrsGpCr23sAQw5I47lP0/I4+IHt6GEmBZJI5BAiEAg3XDkKH2VoCaGAOrMnogh/xg+wApWEBkhtQ7CTS0Yg4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe39OBCRA9TVsSAnZWagAAVWUQAIxo4K1z2/1IeiP4Vndh\n+d/H1uL1Zqj3VhO2IsoC+Ubk5gFP9QUoHCDRLOIlsBMhrQokQa+Y8lk0R+3q\np7W/+bFVyoumCvHYCRobsI+1bx48hbnnYRaImz33XYa6e0i2XiVKoOiujuiR\nQeFPyw7r3IMWYH43xOkwAd0Q0EBrkvOsr0FoN1BR6+SgG1ioJK8ebka/SVUd\nbwGhHZIZ5Q7jT+HiIQ7Suu0qPkQj4ID27eeAcjT5g2eRpcY+74udsCm5+wkI\njQ3OjiXZR60TsFt+1B1YdDAWTcJj2IlIcldybkf/jNA9o7MAbh3zfqA39AH4\nAWgLjuRIpkgLTCoGf4C+QNZh699LD4urjeGmKOsZ7F/OVEFvY8cwipC8zwS1\n/guAYZ/yaLv8wnlhhB0u7T8KJRFbERwlFdaBovYqsRMSoDAiaZJMd4FNptM3\n/g5TubjU+SJx/GH/nKdbVcY+ve12bghtWjavlO0gzmd5nJB442yHPQR3ByO2\nIefUma3VgDYiMZ3Z3jAxB+CAw9zT8cxamW3yfFOJS/0mc3MVr4j6cqK40IJv\ndJbDvqgONBDZBBm4n69a8dAZviI5Vpz/xFtjDs8LfBKkHNAv506MK7RF3AD6\nrUZSKOS1K0i1CSndXpXhVIJJ0czRFgBe1QIPWfXdDUf8NoYZ8gT3mRe8d22f\njE0z\r\n=TuMF\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"dist/index","types":"dist/index","gitHead":"bd05121b39401df334338a6050d2193cb1fd15bf","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.4","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","ts-jest":"^26.1.0","typescript":"^3.9.5","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.6_1591726977451_0.5533734261527765","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"async-await-mutex-lock","version":"1.0.7","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.7","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"187565ed6d91810049dcae260ec34655a87b31e5","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.7.tgz","fileCount":16,"integrity":"sha512-+M3aVWnihnypalK3wws59tQCVLO+Hewxydg/QWjrESoimte1rx22Km0hw6d+AGDIACObdI5ap94ZRezhjTwkzQ==","signatures":[{"sig":"MEYCIQCEHEfgt1IVz490wDwEGCIpP8/J2mJ3c3QiUR/KaH778wIhAPZ+xk4gAS4ETGAwDokH9dImXezDst9//nh3lzFE8dIU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQwNmCRA9TVsSAnZWagAAnmAP/1nlOsRshVA/y/QzcLui\nWLPPH7bEI/+xBTha1EQ3A4vbSUFIsz2YYSCKF5V4fdMz+yf7vpxGZgaIJ0KX\nYVws2SPJaetHNMAbd0o+BM8wX8RpRKbPoZvTQOA0Z5+s6blEjfUdp6POI25s\nsHESrrdFeRn3Y/SM3JwmuDZccCXqRtkh3Q9zHahbeXFlzgQWYsy7tNDGkijc\n77Xhx0DQO945uvaTb2WkNARcTJuCjRDm23hyOvjuJMCvqEr4/+ERqhiuECuW\noxfER7ymOVOa6EmYzO/JttW7Z6+gXf5zYmN8HW1DMoJWcG+xwHMCduY4Cz6l\n561oy7x0NdI7XbgPv63mRYfvZv3YNTUZUzKgx/jepzUqFgB/EJOD10x95Xnw\nyY8jHHxL6BfqK1XbiFFiqSGB8hziic+7n4Bve+5FLWaq6LhtbQC+NOQA7mkI\nqKhpxKw14Oy03OWUOS8yk5C2xeA1CbXEWj40Kv0fPdFSJ+wqPBOSkYxUuWxD\n1WJh6lC+r310Wrp/y/nVHnTMEZ4cRgWqK9oE4TNgGjr8tZIjZVqwfrc7BmDZ\nqXWk9c5fpHf4lzaffBzpqzN7UaTiMCkzRTPuJBhsGhcNfn84AmYnvo/HPyI0\nmWS/5kF9rTipEJWQrnKhG6RibaqJRAwByyfktel6CCw0iwip3McGIZDaEVem\ncK4l\r\n=WLAT\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"dist/index","types":"dist/index","gitHead":"17b9074edc0d64aa10350f0b2ff1cf4ca1b408ed","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"6.14.11","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"12.21.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.3","typescript":"^3.9.9","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.7_1615004517640_0.6139132185979341","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"async-await-mutex-lock","version":"1.0.8","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.8","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"854881c74317da5b45f871121275167149fa9d5a","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.8.tgz","fileCount":16,"integrity":"sha512-LDIELFwr1mE20fmvQGKnR//2OPvWzPeX2Tj/lHyL2Yjej9EzPYTYe4QRxGkkCqAVsz9gaskGzXnkUSgRE/u+mw==","signatures":[{"sig":"MEYCIQDrKTmJt4GSFj8L4FkSvhNdd+fCPoU1JFwBH0bRePRPJAIhAN3OPYd4oYWDu9pezo30dRgUZ+zE3wSBZdVhuT+D+9ce","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ZL5CRA9TVsSAnZWagAAdZ8P+QAIluGWY5YbLPe7/Qy9\nlFs2Gl81/Jy7LP0EBhGN2RU2R/4dQq166PSh7KsBMsvGn+RavCrKLMQQJi17\nTNsEkZfG4ITJYb664C4e4B8A+MwXKdQ9XygMzKnYYMRSnOkaZ2YArNaeGSFC\nNmwGy4FBDwTlPFgdWs56mL2jIwwysPBxurwgS1nSvKmpxlgjhwpl1516RWWu\n8ACIDBXZccYFvC6ZJZU02HA6z9KG8aX31tFIzGDina6AGUGT79fVhrVu/eNs\nnRTvAB07gG8GnPv9fQrBku057Kz8Ju6nqQX4JY3tsU+eLaa17D92KXfK6koF\n30HE2qmaHzTPWBEkTaebODrwG3Jo1LohOYhwcL4GRNIFYasAedKtpnlV/0e5\ncwiYI4kkjnh3EjPFJhUOZ8Nu9I+vaROLd7QGKDG/t7GsTm9+6AdtW4ODMmzk\n3zeX1DfjQoVu8+1zEKruWWUaq1p4W3UC+fqJaUhcscy5EjmjTF5OL6Hh+0Xg\nl9Hxfg/d7hvxL78GXl95v6qFC486OVnaxTkbW4BddrLg6Uitiemw9cPNayMw\nZBqVAN/5beCWYk3JqYKXqELVZtteVaJ2U3E3wFoLA1gHaLJduVfddeL9zotH\nCj/6YuMNP7BmaAzUeWkj5PV0irKSlbrBYP2rVfJU3oIvLgHXCCoZ3SXe5x1L\ndR1I\r\n=qmoK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"dist/index","types":"dist/index","gitHead":"9def6c71b4e69f1e81458b0df922f4c34ddb968f","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"7.7.6","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"15.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.3","typescript":"^3.9.9","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.8_1642959609295_0.5478611059881857","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"async-await-mutex-lock","version":"1.0.9","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.9","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"909801be8ec575215f69399625f815b4306bd230","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.9.tgz","fileCount":16,"integrity":"sha512-QV8MDid/uFYrpOwB+z5W5MnDsyQjxSJqqt6UnDO7m7PnFzoT9j2nYOIp0LnzAw3PycXA9nk++vEqDV+8vj1hkg==","signatures":[{"sig":"MEUCIBNaltoi8yRQN9aeZ6EpiCWqRHuSByRmRT1VMJPcLYFIAiEA1+Sgc5d+WoEm7BXuFjdXVSZlZqTt4SS/U1nYD6ZXeYY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ZqMCRA9TVsSAnZWagAA/lEP/3igmsoihDXtcPDGuKNJ\noeHdWqHegOixqdjm6qMP2jsI1rsYnqmQmbnQ/R3En5CZHJ6kJDD035XvmosK\npzNxUAdUJmvy8WdH7rTeicQywXMWPPSClMbUTXPOXLBpRC+YlH+ni1o9eyeO\nOwysuznTYrHRAlwY2w3TtnSzB5DnbyORtuT+itK4URD/gQGgQFFxy2t7CilJ\nErak6DBs25x28wlYTjE9/WvsMoYareR1OcdVRHXAffEK/RBdfzku7uEcoyjk\nC2CAARKcrQBFp3tKI6ozBwkvktBIWV7kO8b2Y14Ga2uYVx5riqohz2Q9Y8GE\nEGCaOJsHpmUAi+8a23g7S6DAtHM+MVdgBdH/3svg9TXBAsRQiXTeahAa3KPl\nbS7XN8T5HAtfY6zKUnl69cwUAaRx0gDALQWOp+842kQ5ZChkwsi/TuvGGseB\nBNL5bn+S6SvNINTdAH8yPjMc/3y2K1mJJ9UMnZEjtruAWE3ZE/vDKONegX3S\nCsiMjFfn78W0k3tG8rjBlpJeqlnuFY+p2+BAFn5KOIUZ9wuApAVyG5gF2VZO\n7Nad4BQ0aVBtuFUH5dOmD2+R4X8BY0Zv2Tq06Gy5jvCHck/iclORxSIDM716\nUDKZR0SOaOoIKsWAaWBQ/Wf1WAMFgUiN6zWh5b7tLVVQkjDsrvVIFv5QXcGg\nZM9/\r\n=AK68\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"dist/index","types":"dist/index","gitHead":"4ebdbf0fd6359174d4aa829653c4ed8e43042063","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"8.1.2","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.3","typescript":"^3.9.9","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.9_1642961548695_0.2783170095168672","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"async-await-mutex-lock","version":"1.0.10","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.10","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"749901fcb650b12e2324aa076c75d1a4338c944d","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.10.tgz","fileCount":16,"integrity":"sha512-HJOfObEYDecjNsr6+8TOoUW7biAkexkIIgYTdaAAWZ3Q4N2xFfWL/Avbfp8YQc/7vChuWPF1R9aSpmJPXx2Jkw==","signatures":[{"sig":"MEUCIEaQHKEP968SFVJdx06QbHxdgpgV1weOOmewznuMPWHsAiEA+2spP5owWlbP16fPqX1lkaY+lxVJxw9O0XI7POl+Hx0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16746,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEOreACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp13w//dpGRM8GLrQJ3g1HGi04fUB+9y4SpfTi/4/0YPtJP6qilHo+T\r\n4TZMlfa9Ly1FJWhb1HWG/v2/CLIrjUJiC6Eg9ZEXzZ0HDgqGtvmR8fcax0Pd\r\nbrhPRZ4XEWRHjKbHHPXkUXNoVEB6LZlbsDLr2fBfM7LlUlekNbpR3jd3lvIm\r\n1RdJFFfzoCkGg8qzSRn6ObnH2RhNOW3FXjtWzYPuBjnvLooYa4H0VvPRRGCl\r\nkU6+o2me5sEmNK1tmyITOj6wjf9agsuWWl87q0VjpRe3B/UxM/Tzk4V1KPGB\r\nsks+1ZKHKffkCFb0tyuUAiUHKxeOoQgFcv6GIRegtZlAChJm9Wl68MaxqvPl\r\nXusPrWHMTBp56GO3pOP/8vWAtU3aCJqmiWHYm8fdLWSecOtuumAlefgDeBuG\r\npLyYF/DSYoPGOsYvmgjULVR9h5mo5FGUgojGMLnW7z/jR3DNiM30ZJmTGyiB\r\nSo7tLb4tl/J9vDBX4F7KQnpPU+taIJOHBJqBSVOW+DCGwtxxUMdg0uz86XZV\r\nUqmSvYS33tq0eJgpR18m/6OiFfdISJqQtIonDjdTABckkkPFxgNxcQzked0P\r\nFlLkzREuKFOw9/zzoAEpW3LBy5iakcFJkivXLAH/nPO8ka3hxy6uW9TMserM\r\nPjUtsXEn8tu11rYEqDDT926bxzV+Kamm56Y=\r\n=dN+P\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"dist/index","types":"dist/index","gitHead":"b597236f566fd18e9b3d94b3da96ec194c2e9885","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"8.15.0","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.3","typescript":"^3.9.9","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.10_1662053086517_0.39780110497315824","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"async-await-mutex-lock","version":"1.0.11","keywords":["promise","async","mutex","lock","await"],"author":{"name":"Sidharth Malhotra"},"license":"MIT","_id":"async-await-mutex-lock@1.0.11","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"dist":{"shasum":"445f8ebdcac0bbbf9aecb537c83005a1b0c1fe07","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.11.tgz","fileCount":16,"integrity":"sha512-R2R6ITf/q3o/cU6XknJCG+5ya2UgdC/73mTVkYvoyoJP6B0+K6FG9MuxIycR627Exn4fA/nqgHhDw58txzkfgw==","signatures":[{"sig":"MEQCIDLDvsJV5rt2SYrHJVpiMMHdpY+zEd12vX3vaSP3SxP4AiAIS7+P9SfQYL6xMNxyUCHEOvM/WofU2DpPYPdFs9tzVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16752},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","moduleFileExtensions":["js","json","ts"]},"main":"dist/index","types":"dist/index","gitHead":"0fd90df350b82d2ad05675912ac9a789968d9f11","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"repository":{"url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git","type":"git"},"_npmVersion":"10.2.3","description":"Mutex locks for async functions with functionality to use keys for separate locks","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","ts-jest":"^26.5.3","typescript":"^3.9.9","@types/jest":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/async-await-mutex-lock_1.0.11_1706851692790_0.43937048375488064","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"async-await-mutex-lock","version":"1.0.12","description":"Mutex locks for async functions with functionality to use keys for separate locks","main":"dist/index","types":"dist/index","scripts":{"test":"jest --detectOpenHandles --verbose","build":"rimraf dist && tsc","test:cov":"jest --coverage --verbose"},"keywords":["promise","async","mutex","lock","await"],"repository":{"type":"git","url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git"},"author":{"name":"Sidharth Malhotra"},"license":"MIT","bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","devDependencies":{"@types/jest":"^25.2.3","jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^4.3.2"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"coverageDirectory":"../coverage","testEnvironment":"node"},"_id":"async-await-mutex-lock@1.0.12","gitHead":"3fadef5bc2b26a9f1deddafd38a7afd5abd5f567","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-zFq1Cxvk0OeU+dbrOFCLleOTNjG7g/PHKkQxzi6SfPR1vO1J3SC0rDoKf99TPb+nC5ezPirsZAff7qZVb+u8sA==","shasum":"30b4ad10c96f8b251a9ccb6a3fbaf696d6a6e818","tarball":"https://registry.npmjs.org/async-await-mutex-lock/-/async-await-mutex-lock-1.0.12.tgz","fileCount":16,"unpackedSize":16778,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy2NMAgH/4yQBxqbjzFLKJjMKWoODBFWxkJF69gejOygIge3mKlH6iXts4b3C99nXWjpBXrMmtqyoA45ytopmPKzg="}]},"_npmUser":{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"},"directories":{},"maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-await-mutex-lock_1.0.12_1731462697839_0.43292597839435243"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-09T04:46:28.369Z","modified":"2024-11-13T01:51:38.255Z","1.0.0":"2020-06-09T04:46:28.512Z","1.0.1":"2020-06-09T04:56:56.973Z","1.0.2":"2020-06-09T05:20:50.332Z","1.0.3":"2020-06-09T05:26:31.750Z","1.0.4":"2020-06-09T05:30:18.933Z","1.0.5":"2020-06-09T14:47:11.677Z","1.0.6":"2020-06-09T18:22:57.569Z","1.0.7":"2021-03-06T04:21:57.785Z","1.0.8":"2022-01-23T17:40:09.452Z","1.0.9":"2022-01-23T18:12:28.865Z","1.0.10":"2022-09-01T17:24:46.691Z","1.0.11":"2024-02-02T05:28:12.940Z","1.0.12":"2024-11-13T01:51:38.065Z"},"bugs":{"url":"https://github.com/malhotra-sidharth/async-await-mutex-lock/issues"},"author":{"name":"Sidharth Malhotra"},"license":"MIT","homepage":"https://github.com/malhotra-sidharth/async-await-mutex-lock#readme","keywords":["promise","async","mutex","lock","await"],"repository":{"type":"git","url":"git+https://github.com/malhotra-sidharth/async-await-mutex-lock.git"},"description":"Mutex locks for async functions with functionality to use keys for separate locks","maintainers":[{"name":"_sidharth_m_","email":"sidharthmalhotra1994@gmail.com"}],"readme":"# Async Await Mutex Lock\n\n![Tests](https://github.com/malhotra-sidharth/async-await-mutex-lock/workflows/Tests/badge.svg)\n\nMutex locks for async functions with functionality to use keys for separate locks\n\n[![NPM](https://nodei.co/npm/async-await-mutex-lock.png)](https://nodei.co/npm/async-await-mutex-lock/)\n\n# Usage Instructions\n\n#### Without Key\n\n```javascript\nimport { Lock } from \"async-await-mutex-lock\";\n\nlet lock = new Lock();\n\nasync function serialTask() {\n  await lock.acquire();\n\n  try {\n    // Don't return a promise here as Promise may resolve after finally\n    // has executed\n  } finally {\n    lock.release();\n  }\n}\n```\n\n#### With Key\n\nAll the keys will have their own separate locks and separate waiting lists. A key can have\nany type (eg. string, number, etc. or a custom type allowed by typescript as a Map key)\n\n```javascript\nimport { Lock } from \"async-await-mutex-lock\";\n\nlet lock = new Lock<string>();\n\nasync function serialTask() {\n  await lock.acquire(\"myKey\");\n\n  try {\n    // Don't return a promise here as Promise may resolve after finally\n    // has executed\n  }\n  finally {\n    lock.release(\"myKey\");\n  }\n}\n\nasync function serialTaskTwo() {\n  await lock.acquire(\"myKeyTwo\");\n\n  try {\n    // Don't return a promise here as Promise may resolve after finally\n    // has executed\n  }\n  finally {\n    lock.release(\"myKeyTwo\");\n  }\n}\n```\n\n#### Checking if a lock is acquired or not\n\n```javascript\nimport { Lock } from \"async-await-mutex-lock\";\n\nlet lock = new Lock();\n\nasync function serialTask() {\n  await lock.acquire();\n\n  console.log(lock.isAcquired()); // prints true\n}\n```\n\n`isAcquired()` with `key` checks for the given key separately.\n\n```javascript\nimport { Lock } from \"async-await-mutex-lock\";\n\nlet lock = new Lock<string>();\n\nasync function serialTask() {\n  await lock.acquire(\"myKey\");\n\n  console.log(lock.isAcquired(\"myKey\")) // prints true\n}\n```\n\n#### Issues or Bugs\n\nIn case of any issues or bugs, please open a pull request [here](https://github.com/malhotra-sidharth/async-await-mutex-lock/pulls)\n","readmeFilename":"README.md"}