immutable-merge
Allows you to merge objects without mutating them. It would be the equivalent to:
Object;
The difference is that with immutable-merge
you won't need to remember to add the {}
in order to make the "merge" without mutating the original objects.
Installation
npm install immutable-merge --save
Usage
var merge = ; ;//=> {bar: 1, baz: 2}
Tests
npm test
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
Release History
- 0.1.4 Initial release