compare-obj
Recursively compare 2 objects on a property bases to get the difference
Table of Contents
About
Explain the problem the package is trying to solve.
Features
- Name key features e.g. size, performance, how it differs from similar solutions etc.
Usage
const compare = const data = id: 'foobarbaz' name: 'Bazzy' contactNumber: '0000000' contactIds: 'one' 'two' 'three' const initialValues = id: 'foobarbaz' name: 'Bazzy' contactIds: 'one' 'two' console// { contactNumber: '0000000', contactIds: [ 'three' ] }
Install
This project uses node and npm.
$ npm install compare-obj$ # OR $ yarn add compare-obj
Contribute
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
MIT