6.0.16 • Published 3 months ago

ot-acks v6.0.16

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

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.

6.0.16

3 months ago

6.0.15

3 months ago

6.0.14

3 months ago

6.0.13

3 months ago

6.0.12

3 months ago

6.0.11

3 months ago

6.0.10

4 months ago

6.0.7

4 months ago

6.0.9

4 months ago

6.0.8

4 months ago

6.0.6

4 months ago

6.0.3

4 months ago

6.0.5

4 months ago

6.0.4

4 months ago

6.0.1

4 months ago

6.0.2

4 months ago

5.0.0

4 months ago

6.0.0

4 months ago

4.0.1

4 months ago

4.0.3

4 months ago

4.0.2

4 months ago

3.0.1

4 months ago

4.0.0

4 months ago

3.0.0

4 months ago

2.0.0

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago