sloppydiff

0.0.2 • Public • Published

Sloppy Diff

A library similar to jsondiffpatch, only that it doesn't implement the minimum diff, thus being faster

Installation

Install with npm install sloppydiff --save

Usage

const sloppydiff = require('sloppydiff')
let diff = sloppydiff.diff({array: [2, 4, 3]}, {array: [3]}) // {array: [[ 3 ]]}
sloppydiff.patch({array: [2, 4, 3]}, diff) // {array: [3]}

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i sloppydiff

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

10.3 kB

Total Files

9

Last publish

Collaborators

  • n42k