{"library":"nestjs-simple-redis-lock","type":"library","category":null,"description":"A distributed locking library for NestJS using a single Redis instance. Version 1.0.1 provides a simple lock/unlock API and a decorator-based approach for automatic locking around method execution. It offers configurable lock duration, retry interval, and max retries. Requires the 'nestjs-redis' package as a peer dependency and integrates with NestJS's module system. Compared to alternatives like 'redis-semaphore' or 'redlock', this package focuses on simplicity and tight NestJS integration with minimal configuration.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","nestjs","redis","redis lock","distributed lock","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nestjs-simple-redis-lock","imports":["import { RedisLockModule } from 'nestjs-simple-redis-lock';","import { RedisLockService } from 'nestjs-simple-redis-lock';","import { RedisLock } from 'nestjs-simple-redis-lock';"]},{"cmd":"yarn add nestjs-simple-redis-lock","imports":[]},{"cmd":"pnpm add nestjs-simple-redis-lock","imports":[]}],"homepage":"https://github.com/hanFengSan/nestjs-simple-redis-lock#readme","github":"ssh://git@github.com/hanFengSan/nestjs-simple-redis-lock","docs":null,"changelog":null,"pypi":null,"npm":"nestjs-simple-redis-lock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}