Skip to content

ruanyl/diff-match-patch-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diff-match-patch

NPM version Build Status

node wrap of google-diff-match-patch

Installation

This module is installed via npm:

$ npm install diff-match-patch-node

Example Usage

var diffMatchPatch = require('diff-match-patch-node');

diffMatchPatch().diff_main('test A B', 'test B B');
// => [ [ 0, 'test ' ], [ -1, 'A' ], [ 1, 'B' ], [ 0, ' B' ] ]

Releases

No releases published

Packages

No packages published