1.0.6 • Published 6 years ago

diff-objects v1.0.6

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

diffObjects

function returning difference of two objects

example:

const object1 = { a: 1, b: 2, c: 3, };

const object2 = { a: 1, c: 4, d: 5, };

const result = diffObjects(object1, object2); / result = { added: { d: 5, }, saved: { a: 1, }, updated: { c: 4, }, deleted: { b: 2, }, }; /

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago