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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published