{"library":"passkey","type":"library","category":null,"description":"passkey 3.0.0 provides a shared lock (mutex) built on top of Redis. It enables distributed locking with atomic acquire and release, automatic TTL expiration, and lock extension. Compared to alternatives, it uses Redis's atomic operations for reliability and supports promise-based API. The package is minimal, with no external dependencies beyond Redis, and is intended for Node.js environments. Release cadence is low; last major version was v3.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","lock","redis","mutex"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install passkey","imports":["import passkey from 'passkey'","import { LockError } from 'passkey'","const passkey = require('passkey')"]},{"cmd":"yarn add passkey","imports":[]},{"cmd":"pnpm add passkey","imports":[]}],"homepage":"https://github.com/Janpot/passkey#readme","github":"https://janpot@github.com/Janpot/passkey","docs":null,"changelog":null,"pypi":null,"npm":"passkey","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}