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.

60 lines 1.48 kB
{ "name": "@apiratorjs/locking-redis", "version": "2.0.0", "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://alexeyzaitsev.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", "CHANGELOG.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", "engines": { "node": ">=16.4.0" }, "peerDependencies": { "@apiratorjs/locking": "^5.0.0" }, "devDependencies": { "@apiratorjs/locking": "^5.0.0", "@types/node": "^26.1.1", "@types/redis": "^4.0.11", "tsx": "^4.23.1", "typescript": "^7.0.2" }, "dependencies": { "redis": "^6.1.0" }, "scripts": { "build": "rm -rf dist && tsc", "watch": "tsc --watch", "test": "npm run build && node --test --test-concurrency=1 dist/test" } }