jc

js-crdt

Conflict-free Replication Data Type in TypeScript

Showing:

Popularity

Downloads/wk

2

GitHub Stars

58

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

js-crdt Build Status

Introduction

Real time collaboration is a fascinating concept. Main purpose of this libriary it to explore applications of data structure called CRDT in context of real time collaboration and learn answers to questions like:

  • How to write collaborative applications?
  • How to ensure strong eventual consistency?
  • What are limirations of CRDTs?

CRDT stands for Conflict-free Replication Data Type in JavaScript.

Components

Compoents that can be found in this libriary:

  • Data structures like Immutable SortedSet, Immutable Lists, Immutable Maps
  • Partial ordering algorithms like Vector clock
  • Higher order component text that encapsulates operation on plain text that can be used in collaborative editing.

Applications

Development

Basic development requires at least nodejs@8.

To quickly start developmen run:

npm install
npm test

Before pull request run following commands to ensure code quality:

npm test
npm run lint
npm run dist

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100