ot-acks v6.0.16
Operational Transformation
This package contains functions and types for handling concurrent editing of a document (string) using Operational Transformation. In the implemented algorithm the client expects for server to send acknowledgment for every operation sent.
func.ts
Contains functions involving operations and documents; for example you can find the function to transform an operation against another operation, the function to apply an operation to a given document and the functions that given a document, a character and a position return a new document obtained adding or deleting the character.
types.ts
This file contains the definition of some basic types, for example interfaces to specify: what events are emitted by sockets and what is the structure of an operation. The exported classes contain the logic of the OT algorithm describing the communication protocol between client and server; the classes OTClient
and OTStubServer
are used to test the behavior of the algorithm, OTSocketClient
is used client side in the web application and finally OTSocketServer
is used server side to handle concurrent modifications to a particular document.
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago