immpatch
Update immutable.js objects using JSON Patch operations
Install
$ npm install --save immpatch
Usage
var expect = ;var Immutable = ;var patch = ; var object = Immutable; var patched = ; to;
For more information about JSON Patch, see:
For a diff / patch generator see immutablediff.
Another similar module is immutablepatch, immpatch is a simpler implementation that uses plain JS objects as patch operations, and has more complete tests with 100% code coverage.
Testing
$ git clone git://github.com/zaim/immpatch
$ npm install
$ npm run test
Test coverage:
$ npm run testcov
Contributing
Use Github issues for bug reports and requests.
Pull requests are actively welcomed.
License
immpatch
is MIT licensed.