{"_id":"@anyjunk/immutablediff","_rev":"1-63f449dbb8acfec4b727df9d665a8933","name":"@anyjunk/immutablediff","description":"Create RFC 6902 style patches between Immutable.JS data structures","dist-tags":{"latest":"0.4.4"},"versions":{"0.4.4":{"name":"@anyjunk/immutablediff","version":"0.4.4","description":"Create RFC 6902 style patches between Immutable.JS data structures","main":"src/diff.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-diff.git"},"devDependencies":{"gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","jscheck":"^0.2.0","jsondiff":"github:brenoferreira/json-diff"},"peerDependencies":{"immutable":"*"},"gitHead":"010c9c3df4a657e49bd1900c254e4bedf3d6e6ea","bugs":{"url":"https://github.com/intelie/immutable-js-diff/issues"},"homepage":"https://github.com/intelie/immutable-js-diff#readme","_id":"@anyjunk/immutablediff@0.4.4","_npmVersion":"5.5.1","_nodeVersion":"6.11.3","_npmUser":{"name":"anyjunk","email":"client-devs@anyjunk.co.uk"},"dist":{"integrity":"sha512-GBwav+In9GcrdKYjIv7qfRfEh8JiAd9w1/FW9SqzDCsUf6l6Vp4NHofGEhagnr2hEY10PwcvRSbkf+MBgvG0NA==","shasum":"5061fa58d9de271bef61f25a3e7ed541041fc69e","tarball":"https://registry.npmjs.org/@anyjunk/immutablediff/-/immutablediff-0.4.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJTShG/J3JZr39Sz7UeeT70hsdcD08IXXYc9mINSfKNAiEA5JA728Bys2rA4lHgUngBMLKOQyiW7S183MPMYuj3fCM="}]},"maintainers":[{"name":"anyjunk","email":"client-devs@anyjunk.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutablediff-0.4.4.tgz_1509377406818_0.7395973657257855"}}},"readme":"# Immutable Diff\n\nCreate RFC 6902 style patches between Immutable.JS data structures, such as `Maps`, `Lists`, and `Sets`.\n\n## Getting Started\n\nInstall `immutablediff` using npm or yarn:\n\n``` shell\n# npm...\nnpm install --save immutablediff\n\n# ...or yarn\nyarn add immutablediff\n```\n\nYou can then use it to get the diff ops between you Immutable.JS data structures.\n\n``` javascript\nvar Immutable = require('immutable');\nvar diff = require('immutablediff');\n\nvar map1 = Immutable.Map({a:1, b:2, c:3});\nvar map2 = Immutable.Map({a:1, b:2, c:3, d: 4});\n\ndiff(map1, map2);\n// List [ Map { op: \"add\", path: \"/d\", value: 4 } ]\n```\n\nThe result of `diff` is an Immutable Sequence of operations\n\n## Immutable Patch\n\nIf you want to use the resulting diff to apply patches to other Immutable data structures, you can use the package `immutablepatch`. Source code available [here](https://github.com/intelie/immutable-js-patch)\n","maintainers":[{"name":"anyjunk","email":"client-devs@anyjunk.co.uk"}],"time":{"modified":"2022-04-04T14:27:01.676Z","created":"2017-10-30T15:30:07.817Z","0.4.4":"2017-10-30T15:30:07.817Z"},"homepage":"https://github.com/intelie/immutable-js-diff#readme","keywords":["immutable.js","diff","jsondiff"],"repository":{"type":"git","url":"git+ssh://git@github.com/intelie/immutable-js-diff.git"},"author":{"name":"Intelie"},"bugs":{"url":"https://github.com/intelie/immutable-js-diff/issues"},"license":"MIT","readmeFilename":"README.md"}