@wordinweb/collab
v0.3.1
Published
Transport-free collaborative-editing engine for wordinweb (intents, canonical transform, session state machine)
Readme
@wordinweb/collab
The transport-independent collaboration engine for WordInWeb.
React applications should usually use the wordinweb/collab entry. It
includes the React binding and the browser collaboration client:
import { CollabEditor, IndexedDbBundleStore } from "wordinweb/collab";Install this lower-level package when you need its client or authoritative session APIs directly:
npm install @wordinweb/collabimport { CollabConnection } from "@wordinweb/collab/client";
import { DocumentSession } from "@wordinweb/collab/server";The client entry contains browser collaboration logic. The server entry contains the transport-independent document state machine. This package does not contain an HTTP or WebSocket host.
Install @wordinweb/server separately when you need the provided Node server.
See the anonymous sharing example for a complete encrypted
deployment.
License
MIT. See LICENSE.
