JS implementations of crdt-protocols.
npm i @organicdesign/crdt-protocols
This package is currently in development (along with crdt-protocols) and is not recommended for use.
Import the protocol you want from this package:
import { <MESSAGE TYPE> } from "@organicdesign/crdt-protocols/<PROTOCOL>"
For example:
import { CounterData } from "@organicdesign/crdt-protocols/pn-counter"
To update the scripts to the new version of crdt-protocols:
npm run submodule
npm run build