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.

4 lines (3 loc) 221 B
/* SPDX-FileCopyrightText: 2025-present Kriasoft */ /* SPDX-License-Identifier: MIT */ export { DEFAULT_CONFIG, LockError, LockErrorCodes, createLock, delay, generateLockId, mergeLockConfig, } from "./common/backend.js";