UNPKG

@apiratorjs/locking-redis

Version:

An extension to the core @apiratorjs/locking library, providing Redis-based implementations of distributed mutexes and semaphores for true cross-process concurrency control in Node.js.

58 lines (57 loc) 1.41 kB
{ "name": "@apiratorjs/locking-redis", "version": "1.0.4", "description": "An extension to the core @apiratorjs/locking library, providing Redis-based implementations of distributed mutexes and semaphores for true cross-process concurrency control in Node.js.", "author": { "name": "Oleksii Zaitsev", "url": "https://oleksiizaitsev.com" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/apiratorjs/locking-redis.git" }, "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "files": [ "dist/src", "README.md" ], "publishConfig": { "access": "public" }, "keywords": [ "distributed-lock", "concurrency", "synchronization", "distributed-locking", "distributed-mutex", "distributed-semaphore", "critical-section", "race-condition", "resource-sharing", "thread-safety", "concurrent-access", "redis-lock" ], "type": "commonjs", "scripts": { "build": "rm -rf dist && tsc", "watch": "tsc --watch", "test": "npm run build && node --test dist/test", "prepublishOnly": "npm run test" }, "engines": { "node": ">=16.4.0" }, "devDependencies": { "@apiratorjs/locking": "^3.0.2", "@types/node": "^22.13.1", "@types/redis": "^4.0.10", "tsx": "^4.19.2", "typescript": "^5.7.3" }, "dependencies": { "redis": "^4.7.0" } }