yjs_dart 1.1.15 copy "yjs_dart: ^1.1.15" to clipboard
yjs_dart: ^1.1.15 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_dart

With Flutter:

 $ flutter pub add yjs_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  yjs_dart: ^1.1.15

Alternatively, your editor might support dart pub get or flutter 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';
1
likes
115
points
47
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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-based syncing.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on yjs_dart