Skip to content

yjs/Ywasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ywasm

Wasm bindings of the Yrs CRDT

๐Ÿ› ๏ธ Build with wasm-pack build

wasm-pack build

Then open the demo application:

cd www
npm i
npm start

๐Ÿ”ฌ Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

๐ŸŽ Publish to NPM with wasm-pack publish

wasm-pack publish

Advantages over Yjs

  • Manual garbage collection. I.e. doesn't track every character as a separate object.
  • Uses wee_alloc as a minimal memory management library.
  • Small bundle size.

Todo

  • Switch to monorepo.
  • Reimplement classes from Yrs to export information custom to the web.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks