hive_crdt 2.0.4 copy "hive_crdt: ^2.0.4" to clipboard
hive_crdt: ^2.0.4 copied to clipboard

Dart implementation of Conflict-free Replicated Data Types (CRDTs), backed by a Hive store.

hive_crdt #

A CRDT backed by a Hive store.

Depends on the crdt package.

Usage #

A simple usage example:

import 'package:hive_crdt/hive_crdt.dart';

// TODO: Generate id on first launch
const nodeId = 'random_id';

main() async {
  var crdt = await HiveCrdt.open('test', nodeId);
  crdt.put('x', 1);
  crdt.get('x');  // 1
}
7
likes
150
pub points
54%
popularity

Publisher

verified publishercachapa.net

Dart implementation of Conflict-free Replicated Data Types (CRDTs), backed by a Hive store.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

crdt, hive

More

Packages that depend on hive_crdt