Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

jclem/ot_ex

Repository files navigation

This Elixir library contains an implementation of operational transformation for strings. It is the same general algorithm as ottypes/text, but made invertible.

I am also working on an implementation of a generic OT server over at jclem/ot_server.

Installation

If available in Hex, the package can be installed by adding ot_ex to your list of dependencies in mix.exs:

def deps do
 [{:ot_ex, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ot_ex.

Testing

To run the basic tests, run mix test. There are also some longer fuzz tests available that are quite slow. These can be included in the suite by running mix test --include slow_fuzz.

This repo also has Credo and Dialyzer checks that can be run with mix lint.

AltStyle によって変換されたページ (->オリジナル) /