Skip to main content

Installation

Install the core @loco-sync/client library:

npm install @loco-sync/client       # npm
yarn add @loco-sync/client # yarn
bun add @loco-sync/client # bun
pnpm add @loco-sync/client # pnpm

Additionally, install any of the other adapter libraries you'll be using:

npm install @loco-sync/idb          # IndexedDB storage adapter
npm install @loco-sync/react # React hooks adapter