Skip to content

A vanilla javascript translation of the popular htmldiff library.

License

Notifications You must be signed in to change notification settings

frattaro/htmldiff.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

This HTML Diff implementation is a vanilla JavaScript port of the C# port (found at https://github.com/Rohland/htmldiff.net) of the Ruby implementation (found at https://github.com/myobie/htmldiff)

Usage

var htmlDiff = new HtmlDiff(oldHtml, newHtml);
var output = htmlDiff.Build();

About

A vanilla javascript translation of the popular htmldiff library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published