Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 564 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 564 Bytes

inidiff.js

Compare two ini file and efficiently return a list of differences

Demo

demo

Usage

First, include the libraries

<script src="/path/to/inidiff.min.js" type="text/javascript"></script>

Next

var inidiff = new IniDiff(baseText, newText);

// return html
var html = inidiff.prettyHtml();

// return objects
var diff = inidiff.diff()

License

Copyright (c) 2016 l2x. Licensed under MIT LICENSE for details.