{"_id":"@livekit/mutex","_rev":"38-46f7a428dc37be3ca4e6e1067c45d1df","name":"@livekit/mutex","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@livekit/mutex","version":"1.0.0","license":"Apache-2.0","_id":"@livekit/mutex@1.0.0","maintainers":[{"name":"peggyrayzis","email":"peggyrayzis@gmail.com"},{"name":"bcherrylk","email":"ben@livekit.io"},{"name":"shayps","email":"shayne@livekit.io"},{"name":"chrisackermann","email":"chris@livekit.io"},{"name":"sfkat","email":"kat@livekit.io"},{"name":"braunsteinlivekit","email":"bbraunstein@livekit.io"},{"name":"lk-mike","email":"mike@livekit.io"},{"name":"rektdeckard","email":"friedtm@gmail.com"},{"name":"enbyspace","email":"aoife@livekit.io"},{"name":"kuba--","email":"kuba@livekit.io"},{"name":"paulwe","email":"paulwe@gmail.com"},{"name":"keepingitneil","email":"neil@livekit.io"},{"name":"ocupe_livekit","email":"jonas@livekit.io"},{"name":"cacheonly","email":"donhuh@gmail.com"},{"name":"duanweiwei","email":"duan@livekit.io"},{"name":"benjaminlivekit","email":"benjamin@livekit.io"},{"name":"danm_livekit","email":"dan@livekit.io"},{"name":"feepslk","email":"theo@livekit.io"},{"name":"lukasio","email":"lukas@livekit.io"},{"name":"cnderrauber","email":"jie@livekit.io"},{"name":"lk_hiroshi","email":"hiroshi@livekit.io"},{"name":"dliulk","email":"dl@livekit.io"},{"name":"dc-livekit","email":"dc@livekit.io"},{"name":"shishir.gowda","email":"shishir@livekit.io"},{"name":"raja-livekit","email":"raja@livekit.io"},{"name":"livekitherzog","email":"herzog@livekit.io"},{"name":"matkam_livekit","email":"mat@livekit.io"},{"name":"thedavidzhao","email":"david@davidzhao.com"},{"name":"rdsa","email":"dsa@livekit.io"}],"homepage":"https://github.com/livekit/ts-mutex#readme","bugs":{"url":"https://github.com/livekit/ts-mutex/issues"},"dist":{"shasum":"9493102d92ff75dfb0445eccc46c7c7ac189d385","tarball":"https://registry.npmjs.org/@livekit/mutex/-/mutex-1.0.0.tgz","fileCount":13,"integrity":"sha512-aiUhoThBNF9UyGTxEURFzJLhhPLIVTnQiEVMjRhPnfHNKLfo2JY9xovHKIus7B78UD5hsP6DlgpmAsjrz4U0Iw==","signatures":[{"sig":"MEUCIAzRGxBMqwBqkAEUFIJoKHaxRYy4ilV3vSBHybZJQIUgAiEA7374AYUdVvpBY7BrHArIUNZMRMq77O5OIjRk2eSVaqU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17571},"main":"dist/index.js","type":"module","_from":"file:livekit-mutex-1.0.0.tgz","access":"public","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint src","test":"vitest --environment node run","build":"vite build","test:edge":"vitest --environment edge-runtime run","format:check":"prettier --check .","test:browser":"vitest --environment happy-dom run"},"typings":"dist/index.d.ts","_npmUser":{"name":"lukasio","email":"lukas@livekit.io"},"_resolved":"/private/var/folders/90/9gpw64t92flgd3fxjxwr0mp80000gn/T/c5f11b990d07126b544db9314d98da9e/livekit-mutex-1.0.0.tgz","_integrity":"sha512-aiUhoThBNF9UyGTxEURFzJLhhPLIVTnQiEVMjRhPnfHNKLfo2JY9xovHKIus7B78UD5hsP6DlgpmAsjrz4U0Iw==","repository":{"url":"git+ssh://git@github.com/livekit/ts-mutex.git","type":"git"},"_npmVersion":"10.1.0","description":"Tiny mutex helper","directories":{},"sideEffects":false,"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.8","eslint":"^9.12.0","vitest":"^2.1.3","globals":"^15.11.0","prettier":"^3.3.3","happy-dom":"^15.7.4","@eslint/js":"^9.12.0","typescript":"~5.0.0","vite-plugin-dts":"^4.2.4","@edge-runtime/vm":"^4.0.3","typescript-eslint":"^8.9.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mutex_1.0.0_1728990160324_0.7593904729850529","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@livekit/mutex","version":"1.1.0","license":"Apache-2.0","_id":"@livekit/mutex@1.1.0","maintainers":[{"name":"bcherrylk","email":"ben@livekit.io"},{"name":"shayps","email":"shayne@livekit.io"},{"name":"chrisackermann","email":"chris@livekit.io"},{"name":"sfkat","email":"kat@livekit.io"},{"name":"braunsteinlivekit","email":"bbraunstein@livekit.io"},{"name":"lk-mike","email":"mike@livekit.io"},{"name":"rektdeckard","email":"friedtm@gmail.com"},{"name":"enbyspace","email":"aoife@livekit.io"},{"name":"kuba--","email":"kuba@livekit.io"},{"name":"paulwe","email":"paulwe@gmail.com"},{"name":"keepingitneil","email":"neil@livekit.io"},{"name":"ocupe_livekit","email":"jonas@livekit.io"},{"name":"cacheonly","email":"donhuh@gmail.com"},{"name":"duanweiwei","email":"duan@livekit.io"},{"name":"benjaminlivekit","email":"benjamin@livekit.io"},{"name":"danm_livekit","email":"dan@livekit.io"},{"name":"feepslk","email":"theo@livekit.io"},{"name":"lukasio","email":"lukas@livekit.io"},{"name":"cnderrauber","email":"jie@livekit.io"},{"name":"lk_hiroshi","email":"hiroshi@livekit.io"},{"name":"dliulk","email":"dl@livekit.io"},{"name":"dc-livekit","email":"dc@livekit.io"},{"name":"shishir.gowda","email":"shishir@livekit.io"},{"name":"raja-livekit","email":"raja@livekit.io"},{"name":"livekitherzog","email":"herzog@livekit.io"},{"name":"matkam_livekit","email":"mat@livekit.io"},{"name":"thedavidzhao","email":"david@davidzhao.com"},{"name":"rdsa","email":"dsa@livekit.io"}],"homepage":"https://github.com/livekit/ts-mutex#readme","bugs":{"url":"https://github.com/livekit/ts-mutex/issues"},"dist":{"shasum":"5d9c4f6daa57ac59928e7d4d5b40a428804e045d","tarball":"https://registry.npmjs.org/@livekit/mutex/-/mutex-1.1.0.tgz","fileCount":13,"integrity":"sha512-XRLG+z/0uoyDioupjUiskjI06Y51U/IXVPJn7qJ+R3J75XX01irYVBM9MpxeJahpVoe9QhU4moIEolX+HO9U9g==","signatures":[{"sig":"MEUCIQDpah24YHkAY6b4/98cgB2Q//ULzAAYYwrR8fcRQzShiQIgRptrTgAb93K1Vk/fbrEMs60Fvmsf8oheGq4/ynMiQ5E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24252},"main":"dist/index.js","type":"module","_from":"file:livekit-mutex-1.1.0.tgz","access":"public","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint src","test":"vitest --environment node run","build":"vite build","test:edge":"vitest --environment edge-runtime run","format:check":"prettier --check .","test:browser":"vitest --environment happy-dom run"},"typings":"dist/index.d.ts","_npmUser":{"name":"enbyspace","email":"aoife@livekit.io"},"_resolved":"/private/tmp/a4d543eed8ec9ca762778fe1b90e759d/livekit-mutex-1.1.0.tgz","_integrity":"sha512-XRLG+z/0uoyDioupjUiskjI06Y51U/IXVPJn7qJ+R3J75XX01irYVBM9MpxeJahpVoe9QhU4moIEolX+HO9U9g==","repository":{"url":"git+ssh://git@github.com/livekit/ts-mutex.git","type":"git"},"_npmVersion":"10.8.2","description":"Tiny mutex helper","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.8","eslint":"^9.12.0","vitest":"^2.1.3","globals":"^15.11.0","prettier":"^3.3.3","happy-dom":"^15.7.4","@eslint/js":"^9.12.0","typescript":"~5.0.0","vite-plugin-dts":"^4.2.4","@edge-runtime/vm":"^4.0.3","typescript-eslint":"^8.9.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mutex_1.1.0_1730740624458_0.5620520464286147","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@livekit/mutex","version":"1.1.1","license":"Apache-2.0","_id":"@livekit/mutex@1.1.1","maintainers":[{"name":"rdsa","email":"dsa@livekit.io"},{"name":"thedavidzhao","email":"david@davidzhao.com"},{"name":"feepslk","email":"theo@livekit.io"},{"name":"matkam_livekit","email":"mat@livekit.io"},{"name":"raja-livekit","email":"raja@livekit.io"},{"name":"livekitherzog","email":"herzog@livekit.io"},{"name":"lukasio","email":"lukas@livekit.io"},{"name":"paulwe","email":"paulwe@gmail.com"},{"name":"dliulk","email":"dl@livekit.io"},{"name":"lk_hiroshi","email":"hiroshi@livekit.io"},{"name":"dc-livekit","email":"dc@livekit.io"},{"name":"cnderrauber","email":"jie@livekit.io"},{"name":"benjaminlivekit","email":"benjamin@livekit.io"},{"name":"danm_livekit","email":"dan@livekit.io"},{"name":"shishir.gowda","email":"shishir@livekit.io"},{"name":"duanweiwei","email":"duan@livekit.io"},{"name":"ocupe_livekit","email":"jonas@livekit.io"},{"name":"cacheonly","email":"donhuh@gmail.com"},{"name":"sfkat","email":"kat@livekit.io"},{"name":"shayps","email":"shayne@livekit.io"},{"name":"chrisackermann","email":"chris@livekit.io"},{"name":"bcherrylk","email":"ben@livekit.io"},{"name":"kuba--","email":"kuba@livekit.io"},{"name":"enbyspace","email":"aoife@livekit.io"},{"name":"rektdeckard","email":"friedtm@gmail.com"},{"name":"lk-mike","email":"mike@livekit.io"},{"name":"braunsteinlivekit","email":"bbraunstein@livekit.io"},{"name":"s-hamdananwar","email":"hamdan@livekit.io"}],"homepage":"https://github.com/livekit/ts-mutex#readme","bugs":{"url":"https://github.com/livekit/ts-mutex/issues"},"dist":{"shasum":"72492b611d55be8130ba2271b7a436d94b1bc6d4","tarball":"https://registry.npmjs.org/@livekit/mutex/-/mutex-1.1.1.tgz","fileCount":13,"integrity":"sha512-EsshAucklmpuUAfkABPxJNhzj9v2sG7JuzFDL4ML1oJQSV14sqrpTYnsaOudMAw9yOaW53NU3QQTlUQoRs4czw==","signatures":[{"sig":"MEYCIQC6JuAKt7Z/KuhahqBJYSWYlEZI5IxeyJ2qs5wceD573AIhAOix9W0iSAK3MDVypInyUNAcW29VTm52yPtXsiS4bgBe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24232},"main":"dist/index.js","_from":"file:livekit-mutex-1.1.1.tgz","access":"public","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint src","test":"vitest --environment node run","build":"vite build","test:edge":"vitest --environment edge-runtime run","format:check":"prettier --check .","test:browser":"vitest --environment happy-dom run"},"typings":"dist/index.d.ts","_npmUser":{"name":"lukasio","email":"lukas@livekit.io"},"_resolved":"/private/var/folders/90/9gpw64t92flgd3fxjxwr0mp80000gn/T/03fb1ada3b406762ce75134ab3786ebe/livekit-mutex-1.1.1.tgz","_integrity":"sha512-EsshAucklmpuUAfkABPxJNhzj9v2sG7JuzFDL4ML1oJQSV14sqrpTYnsaOudMAw9yOaW53NU3QQTlUQoRs4czw==","repository":{"url":"git+ssh://git@github.com/livekit/ts-mutex.git","type":"git"},"_npmVersion":"10.1.0","description":"Tiny mutex helper","directories":{},"sideEffects":false,"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.8","eslint":"^9.12.0","vitest":"^2.1.3","globals":"^15.11.0","prettier":"^3.3.3","happy-dom":"^15.7.4","@eslint/js":"^9.12.0","typescript":"~5.0.0","vite-plugin-dts":"^4.2.4","@edge-runtime/vm":"^4.0.3","typescript-eslint":"^8.9.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mutex_1.1.1_1732544567491_0.04123434255305081","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-10-15T11:02:40.323Z","modified":"2026-09-25T17:16:07.189Z","1.0.0":"2024-10-15T11:02:40.474Z","1.1.0":"2024-11-04T17:17:04.629Z","1.1.1":"2024-11-25T14:22:47.655Z"},"bugs":{"url":"https://github.com/livekit/ts-mutex/issues"},"license":"Apache-2.0","homepage":"https://github.com/livekit/ts-mutex#readme","repository":{"url":"git+ssh://git@github.com/livekit/ts-mutex.git","type":"git"},"description":"Tiny mutex helper","maintainers":[{"email":"dsa@livekit.io","name":"rdsa"},{"email":"david@davidzhao.com","name":"thedavidzhao"},{"email":"theo@livekit.io","name":"feepslk"},{"email":"mat@livekit.io","name":"matkam_livekit"},{"email":"raja@livekit.io","name":"raja-livekit"},{"email":"herzog@livekit.io","name":"livekitherzog"},{"email":"lukas@livekit.io","name":"lukasio"},{"email":"paulwe@gmail.com","name":"paulwe"},{"email":"dl@livekit.io","name":"dliulk"},{"email":"dan@livekit.io","name":"danm_livekit"},{"email":"jonas@livekit.io","name":"ocupe_livekit"},{"email":"donhuh@gmail.com","name":"cacheonly"},{"email":"kat@livekit.io","name":"sfkat"},{"email":"ben@livekit.io","name":"bcherrylk"},{"email":"friedtm@gmail.com","name":"rektdeckard"},{"email":"jason.lernerman@livekit.io","name":"jason.lernerman"},{"email":"tom.ezquerro@livekit.io","name":"tom.ezquerro"},{"email":"teresa.combs-fisher@livekit.io","name":"tcombsfisher"},{"email":"tina.nguyen@livekit.io","name":"tinalenguyen"},{"email":"thomas.yuill@livekit.io","name":"thomasyuill-livekit"},{"email":"ryan.gaus@livekit.io","name":"rgauslivekit"}],"readme":"## Installation\n\n```\npnpm add @livekit/mutex\n```\n\n## Usage\n\n```ts\nimport { Mutex } from '@livekit/mutex';\n\nconst myLock = new Mutex();\n\nconst unlock = await myLock.lock();\n\ntry {\n    ...\n}\nfinally {\n    unlock();\n}\n```\n","readmeFilename":"README.md"}