{"_id":"@anyjunk/immutablepatch","_rev":"1-ecf1435ddfb67b746f2e24dbd3b40d1c","name":"@anyjunk/immutablepatch","description":"Apply RFC 6902 style patches to Immutable.JS data structures","dist-tags":{"latest":"0.4.2"},"versions":{"0.4.2":{"name":"@anyjunk/immutablepatch","version":"0.4.2","publishConfig":{"registry":"https://registry.npmjs.org/"},"description":"Apply RFC 6902 style patches to Immutable.JS data structures","main":"src/patch.js","directories":{"test":"tests"},"scripts":{"test":"gulp test"},"keywords":["immutable.js","diff","jsondiff"],"author":{"name":"Intelie"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/intelie/immutable-js-patch.git"},"devDependencies":{"gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","immutablediff":"^0.3.2","jscheck":"^0.2.0"},"peerDependencies":{"immutable":"*"},"gitHead":"fef64024f35860585ba7017ea7e334614f7ad373","bugs":{"url":"https://github.com/intelie/immutable-js-patch/issues"},"homepage":"https://github.com/intelie/immutable-js-patch#readme","_id":"@anyjunk/immutablepatch@0.4.2","_npmVersion":"5.5.1","_nodeVersion":"6.11.3","_npmUser":{"name":"anyjunk","email":"client-devs@anyjunk.co.uk"},"dist":{"integrity":"sha512-annje7zfZWbrQwsBzPJhv3SuDCiAMvpS5ryUYaFR0Dx6cZcq58MXFvYZMBMRU+0El3eclgY3QNRyCVRb8cD9KA==","shasum":"a8c8e9e969843bdc5dbc2bacf150924d0d4358f3","tarball":"https://registry.npmjs.org/@anyjunk/immutablepatch/-/immutablepatch-0.4.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHD8MHg7W7rfs4ltfC1l44BgUKsAftPNo8Q9/wKBl0ozAiEAhiNIM0EE4EPVY2vIjKqrOTqdynGBO4FF4boa6yCUIB4="}]},"maintainers":[{"name":"anyjunk","email":"client-devs@anyjunk.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutablepatch-0.4.2.tgz_1509377507602_0.0762733940500766"}}},"readme":"Immutable Patch\n====\n\nApply RFC 6902 style patches to Immutable.JS data structures, such as `Maps`, `Lists`, and `Sets`.\n\n### Getting Started\n\nYou may get the module via npm:\n\n```\nnpm install immutablepatch\n```\n\nAnd apply JSON patches to an immutable JSON object:\n\n```js\nvar Immutable = require('immutable');\nvar patch = require('immutablepatch');\n\nvar list = Immutable.fromJS([1, 2, [3, 4]]);\nvar ops = Immutable.fromJS([\n  {op: 'replace', path: '/2/1', value: 10}\n]);\n\nvar result = patch(list, ops);\n// var expected = Immutable.fromJS([1, 2, [3, 10]]);\n```\n\nYou will probably need [`immutablediff`](https://github.com/intelie/immutable-js-diff) to generate diff operations.\n","maintainers":[{"name":"anyjunk","email":"client-devs@anyjunk.co.uk"}],"time":{"modified":"2022-04-04T14:27:01.852Z","created":"2017-10-30T15:31:49.521Z","0.4.2":"2017-10-30T15:31:49.521Z"},"homepage":"https://github.com/intelie/immutable-js-patch#readme","keywords":["immutable.js","diff","jsondiff"],"repository":{"type":"git","url":"git+ssh://git@github.com/intelie/immutable-js-patch.git"},"author":{"name":"Intelie"},"bugs":{"url":"https://github.com/intelie/immutable-js-patch/issues"},"license":"MIT","readmeFilename":"README.md"}