Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 389 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 389 Bytes

A set of basic functions for working with delta format described in jsondiffpatch • Delta Format.

Installation

npm i @vbarbarosh/jsondiffpatch-helpers

Usage

reverse(diff_ab) // will return a diff to produce a from b
unpatch(b, diff_ab) // will return object identical to a