UNPKG

@d3vtool/mutex

Version:

This library allows you to use concept of mutex for shared in-memory resource in asynchronous environment.

38 lines (37 loc) 861 B
{ "name": "@d3vtool/mutex", "version": "1.1.1", "description": "This library allows you to use concept of mutex for shared in-memory resource in asynchronous environment.", "source": "src/index.ts", "main": "dist/cjs/index.js", "types": "dist/types/index.d.ts", "scripts": { "build:cjs": "tsc -p tsconfig.cjs.json", "build": "npm run build:cjs", "test": "vitest" }, "keywords": [ "mutex", "async", "asynchronous", "concurrency", "synchronization", "mutex-lock", "async-lock", "concurrent-access", "thread-safety", "mutex-js", "resource-lock", "async-mutex", "semaphore", "js-mutex" ], "author": "Sudhanshu Kumar", "license": "MIT", "devDependencies": { "@types/node": "^22.15.2", "esbuild": "^0.25.3", "typescript": "^5.8.3", "vitest": "^3.1.2" } }