[go: up one dir, main page]

Skip to content

loro-dev/migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loro Migrate

Convert Loro snapshot from versions older than v1.0 to the latest version.

Usage

npx loro-migrate /path/old-snapshot /path/new-snapshot v0.16
import { migrate, LoroVersion } from "loro-migrate";

const oldSnapshot: Uint8Array = ......;
const newSnapshot: Uint8Array = migrate(oldSnapshot, LoroVersion.V016 );

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published