Skip to content

fsdevlondon/object-deep-differ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object deep differ

Return the difference between the source object and the default object.

Installation

npm install --save object-deep-differ

Usage

const diff = require('object-deep-differ');

const defaultObj = {a:{b:{c:'hello'}}}

const sourceObj = {a:{d:{e:'hello world'}}}

console.log(diff(defaultObj, sourceObj)); // outputs {a:{d:{e:'hello world'}}}

Tests

npm test

About

Return the deep differnce between two objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published