Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 317 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 317 Bytes

Loro Migrate

Convert Loro snapshot from versions older than v0.16 to the latest version.

Usage

npx loro-migrate /path/old-snapshot /path/new-snapshot
import { migrate } from "loro-migrate";

const oldSnapshot: Uint8Array = ......;
const newSnapshot: Uint8Array = migrate(oldSnapshot);