UNPKG

@nullplatform/k8s-lease-lock

Version:

The **K8SLock** module is a Node.js library designed to provide distributed locking functionality using Kubernetes leases. It allows you to manage locks in a Kubernetes cluster, ensuring that only one client or process can hold a lock at any given time. T

27 lines (25 loc) 862 B
{ "name": "@nullplatform/k8s-lease-lock", "version": "0.1.4", "description": "The **K8SLock** module is a Node.js library designed to provide distributed locking functionality using Kubernetes leases. It allows you to manage locks in a Kubernetes cluster, ensuring that only one client or process can hold a lock at any given time. This is useful for scenarios where you need to coordinate tasks across multiple instances of your application or ensure exclusive access to shared resources.", "main": "index.js", "scripts": { "test": "NODE_ENV=test jest --forceExit --detectOpenHandles" }, "author": "", "license": "MIT", "dependencies": { "@kubernetes/client-node": "^0.19.0" }, "devDependencies": { "jest": "^29.7.0" }, "keywords": [ "k8s", "kubernetes", "lock", "lease", "library", "module" ] }