fredericpetit/jsdifflib-legacy

JSdifflib Legacy

dev-main 2023-04-28 08:40 UTC

This package is not auto-updated.

Last update: 2023-11-27 19:14:19 UTC


README

A javascript library for diffing text and generating corresponding HTML views.

Original library here : https://github.com/cemerick/jsdifflib/.

Merged with some PR of the original github content.

Usage

There is three files located in assets/ :

  • js/difflib.js
  • js/diffview.js
  • css/diffview.js

Use these files directly or point a virtualhost index to public/.

Interface example

JSdifflib Legacy