davearonson / Diffie

Elixir library to produce diff reports of two strings, or two lists of objects (of any kind)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diffie

Diffie is a library for making textual reports, similar to a simplified version of the diff command-line utility, of the differences between two strings, or two lists of objects.

NOT FOR DIFFIE-HELLMAN KEY EXCHANGE!

The original intended use-case is to find differences between two fairly large pieces of text, such as documentation, reports, or all the visible text on a web page. I decided to implement that via a helper function that would take lists, and then decided to expose that version as well, since it seemed maybe useful but not too far from the original mission.

Installation

The package can be installed by adding diffie to your list of dependencies in mix.exs:

def deps do
  [
    {:diffie, "~> 0.2.0"}
  ]
end

License

3-Clause BSD; see LICENSE file.

About

Elixir library to produce diff reports of two strings, or two lists of objects (of any kind)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elixir 100.0%