@hackmd-dev/diff-match-patch
npm package for https://code.google.com/p/google-diff-match-patch/
Last updated a year ago by a60814billy .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hackmd-dev/diff-match-patch 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.3-pr.1.6                                ...           latest (a year ago)

1 Versions

  • 1.1.3-pr.1.6                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |