npm install object-combine![npm]()
![npm]()
![CircleCI]()
```
me: Hey @ajithranka, how do I do something like this?
ajithranka: Ummm. Give me a minute.
...
npm publish
Combine two objects using a combineFunction.
``
npm install object-combine
js
var objectCombine = require('object-combine');var items = {'chairs': 10, 'tables': 4};
var moreItems = {'chairs': 2, 'stools': 34};
var combineFunction = function (a, b) { return a + b; }
var combined = objectCombine(items, moreItems, combineFunction);
console.log(combined);
{'chairs': 12, 'tables': 4, 'stools': 34}
`$3
`sh
Install package dependencies.
npm installRun tests.
npm test
``