yjs_dart 1.1.1
yjs_dart: ^1.1.1 copied to clipboard
A pure Dart translation of the Yjs CRDT library (yjs v14.0.0-22) and y-protocols (v1.0.5), with no external dependencies. Maintains a 1:1 structural mapping to the JavaScript source for easy diff-base [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add yjs_dartThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
yjs_dart: ^1.1.1Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:yjs_dart/yjs_dart.dart';