Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

A library of Conflict-Free Replicated Data Types for JavaScript #414

Open
haadcode opened this issue Dec 11, 2017 · 0 comments
Open

A library of Conflict-Free Replicated Data Types for JavaScript #414

haadcode opened this issue Dec 11, 2017 · 0 comments
Labels

Comments

@haadcode
Copy link
Member

Here's a CRDTs library for JavaScript:
https://github.com/orbitdb/crdts

I started the module long ago to be used in OrbitDB and in fact, we've used the G-Counter provided by the module since day 1 in OrbitDB.

Having worked on CRDTs for some time now, I realized that there's a strong need for a JavaScript module as the JS world's CRDTs are all over the place and not coherently presented. There are individual libraries for individual CRDTs, they're half-implemented or sometimes even wrong implementation or wrong terminology, etc. I believe we should create a well-documented and maintained module for CRDTs in JavaScript that works as a starting point for all-thing-CRDT for a JS developer, both code and documentation. A library that gives developers building blocks, such as building CRDTs on IPFS.

The module currently includes the following operation-based CRDTs:

  • G-Counter
  • PN-Counter
  • G-Set
  • 2P-Set
  • OR-Set
  • LWW-Set

I'd like to eventually include all known CRDTs in the library.

I'd like to invite all of you in the IPFS community, who are working on or using CRDTs or are interested in them in general, to contribute to the library - code, issues or documentation - and build it together!

@daviddias daviddias transferred this issue from ipfs-inactive/research-CRDT Feb 4, 2020
@daviddias daviddias added the CRDTs label Feb 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants