UNPKG

syncguard

Version:

Functional TypeScript library for distributed locking across microservices. Prevents race conditions with Redis, Firestore, and custom backends. Features automatic lock management, timeout handling, and extensible architecture.

8 lines (7 loc) 296 B
/** * D-Lock Firestore Backend * * Firestore-based distributed lock implementation using @google-cloud/firestore */ export { createFirestoreBackend, createLock } from "./firestore/index.js"; export type { FirestoreBackendOptions, FirestoreConfig, LockDocument, } from "./firestore/types.js";