pentest-distro-builder/filesystem/root/.vscode/extensions/ms-python.python-2018.8.0/node_modules/diff-match-patch
2018-10-17 15:35:13 -06:00
..
test Parrot preseed changes 2018-10-17 15:35:13 -06:00
.npmignore Parrot preseed changes 2018-10-17 15:35:13 -06:00
.travis.yml Parrot preseed changes 2018-10-17 15:35:13 -06:00
index.js Parrot preseed changes 2018-10-17 15:35:13 -06:00
LICENSE Parrot preseed changes 2018-10-17 15:35:13 -06:00
package.json Parrot preseed changes 2018-10-17 15:35:13 -06:00
README.md Parrot preseed changes 2018-10-17 15:35:13 -06:00

diff-match-patch

npm package for https://code.google.com/p/google-diff-match-patch/

Build Status Dependency Status NPM version

Installation

npm install diff-match-patch

API

https://code.google.com/p/google-diff-match-patch/wiki/API

var DiffMatchPatch = require('diff-match-patch');
var dmp = new DiffMatchPatch();
//use the methods that dmp has
//see: https://code.google.com/p/google-diff-match-patch/wiki/API

//You can also use the following properties:

DiffMatchPatch.DIFF_DELETE = -1;
DiffMatchPatch.DIFF_INSERT = 1;
DiffMatchPatch.DIFF_EQUAL = 0;

License

http://www.apache.org/licenses/LICENSE-2.0