Skip to content

gerkensm/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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • Rust 33.7%
  • HTML 10.6%