1.0.2 • Published 9 years ago
diff-compare v1.0.2
diff-compare
A javascript library for diffing text and generating corrected and annotated text. This is a fork and derivative of ForbesLindesay/jsdifflib, which is in turn a fork of cemerick/jsdifflib
Installation
npm install diff-compare
Overview
diff-compare is a Javascript library that provides:
- a partial reimplementation of Python’s difflib module (specifically, the SequenceMatcher class)
- rather than a view generator, as the previous modules have made, this provides a corrected list of items, language agnostic
Example
var diff = require('diff-compare');
var adjustedText = diff.build({
baseText: baseText,
newText: newText
})
Changelog
Unreleased
branch: master
Type | Link | Description |
---|
v1.0.2 | 2015-07-20
branch: release/v1.0.2
Type | Link | Description |
---|---|---|
Added | e66bd85 | Added badges and changelog to Readme |
v1.0.1 | 2015-07-20
branch: release/v1.0.1
Type | Link | Description |
---|---|---|
Added | 6aa50a7 | Added badges |
Changed | 6aa50a7 | Refactored build opts keys |
Fixed | a371e21 | Code Climate CLI issue |
v1.0.0 | 2015-07-14
branch: release/v1.0.0
Type | Link | Description |
---|---|---|
Added | Initial Release |
License
Dual License: BSD + ISC