Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 690 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 690 Bytes

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.