@hackmd/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/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                                ...           latest (a year ago)

3 Versions

  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
Downloads
Today 0
This Week 2
This Month 2
Last Day 2
Last Week 4
Last Month 14
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |