y_crdt 0.0.1 copy "y_crdt: ^0.0.1" to clipboard
y_crdt: ^0.0.1 copied to clipboard

y.js (https://github.com/yjs/yjs) Dart port, a CRDT implementation. CRDTs allow for local, offline editing and synchronization of shared data.

y_crdt #

y.js (https://github.com/yjs/yjs) Dart port, a CRDT implementation. CRDTs allow for local, offline editing and synchronization of shared data.

Uses https://github.com/juancastillo0/wasm_run for executing WASM and https://github.com/y-crdt/y-crdt for the underlying implementation.

Build Wasm Component from Rust #

cd y_crdt_wasm
cargo wasi build --release
cp target/wasm32-wasi/release/y_crdt_wasm.wasm ../lib/assets/
copied to clipboard

Generate Wit Dart bindings #

dart run wasm_wit_component:generate y_crdt_wasm/wit/y-crdt.wit lib/src/y_crdt_wit.gen.dart
copied to clipboard
4
likes
140
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.08 - 2025.03.23

y.js (https://github.com/yjs/yjs) Dart port, a CRDT implementation. CRDTs allow for local, offline editing and synchronization of shared data.

Repository (GitHub)

Topics

#wasm #wit #crdt #offline #peer-to-peer

Documentation

API reference

License

MIT (license)

Dependencies

wasm_run, wasm_wit_component

More

Packages that depend on y_crdt