Skip to content

ccarner/yjs-inspector

 
 

Repository files navigation

🛝 Yjs Inspector

Build

The playground of Yjs.

✨ Features

  • Connect to a Yjs demo.
    image
  • Inspect the Yjs document model
    image
  • Advanced Filters
    image
  • Edit the Yjs document model.
    image
  • Export the YDoc snapshot
  • Dark mode

COLTON ADDED/MODIFIED

  • Migrated to V2 functions for these listed (https://github.com/yjs/yjs#using-v2-update-format) (NOTE I don't think there's a V2 version of encodeStateVector... docs are just wrong?)

  • Y.encodeStateAsUpdateV2(doc): Encodes the state of the document into the new v2 update format. Y.applyUpdateV2(doc, update): Applies a binary update in the new v2 format to the Yjs document. Y.diffUpdateV2(update, stateVector): Computes the difference between a full update and the state vector using the new v2 format. Y.mergeUpdatesV2(updates): Merges multiple updates into a single update using the new v2 format. Y.logUpdateV2(update): Logs the contents of an update in the new v2 format, mainly for debugging purposes.

About

Fork of playground to add features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.9%
  • CSS 1.2%
  • Other 0.9%