{"_id":"disparity","_rev":"14-f091c1c444c99492d62223c69531c0f5","name":"disparity","description":"Colorized string diff ideal for text/code that spans through multiple lines","dist-tags":{"latest":"3.2.0"},"versions":{"1.0.0":{"name":"disparity","version":"1.0.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"https://github.com/millermedeiros/disparity.git"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^2.0.1","diff":"^1.3.2","has-ansi":"^1.0.3"},"jshintConfig":{"node":true,"eqnull":true},"gitHead":"0b79d275c4c426121ccafbf5c331834bf48a1c22","_id":"disparity@1.0.0","_shasum":"4df48c478a827d311fec686a66aff21f3514a6a9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"millermedeiros","email":"miller@millermedeiros.com"},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"dist":{"shasum":"4df48c478a827d311fec686a66aff21f3514a6a9","tarball":"https://registry.npmjs.org/disparity/-/disparity-1.0.0.tgz","integrity":"sha512-yKH8rmLC+eDde2Oep+q574wX3+e1Vnpee9UegUJqUkmDkBmPU+qvowZtM6+1xwMYENeX6zQOsjD4zine5OJgYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgD1LxSdfcu6j72RXGPenYZSX2bfxovi7JmMg89T6MmwIgQ4A5Or9CHoCMefA+Uggc3fncXzmjeheknMxjIQSnqZ0="}]},"directories":{}},"1.1.0":{"name":"disparity","version":"1.1.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"https://github.com/millermedeiros/disparity.git"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^2.0.1","diff":"^1.3.2","has-ansi":"^1.0.3"},"jshintConfig":{"node":true,"eqnull":true},"gitHead":"b05b74d9e93f053af68e14fd18df3b418e4f35ae","_id":"disparity@1.1.0","_shasum":"75c0762e47273e09fb5199a37fa02ae0d1a6bfff","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"millermedeiros","email":"miller@millermedeiros.com"},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"dist":{"shasum":"75c0762e47273e09fb5199a37fa02ae0d1a6bfff","tarball":"https://registry.npmjs.org/disparity/-/disparity-1.1.0.tgz","integrity":"sha512-kzZmdMLQpJbwLJKh4+fnOakCPVTsbhxM/3qpy7ANH8LjEnBVKQzZitu4jFuC88Ip7lybywAfo369Y/kwUWZ2HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXI8IFUerV2mggpJ3NQu5rlI8BCNsHiOXY8uW0BsE7wAiEAllP22TEaTP7ecPmyGR/U+yRLXA9G9w4U3oEpKA1m/Kw="}]},"directories":{}},"1.2.0":{"name":"disparity","version":"1.2.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"https://github.com/millermedeiros/disparity.git"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^2.0.1","diff":"^1.3.2","has-ansi":"^1.0.3"},"jshintConfig":{"node":true,"eqnull":true},"gitHead":"b0749ded28c193e818a52408b8d25208cd3118d6","_id":"disparity@1.2.0","_shasum":"2465cf6a5e6af7c077eee64df21e9906cf68a050","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"millermedeiros","email":"miller@millermedeiros.com"},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"dist":{"shasum":"2465cf6a5e6af7c077eee64df21e9906cf68a050","tarball":"https://registry.npmjs.org/disparity/-/disparity-1.2.0.tgz","integrity":"sha512-oMq7g96qNOHvExv/2wOY/ExUkaPU5VDuwwTspR1pTgmBi+wdlIEEjrqlPQ4W47L1NUBBkdJV47fjlWC9zqgzpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeVlASSlk9P4o/E4rypYD8LDYvYPAQ1bKZV9ZiTOSWQAIgfhcArHC1PxbihHYsMK+BPrkaR0wJq/db1zshyQfdbzE="}]},"directories":{}},"1.3.0":{"name":"disparity","version":"1.3.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"https://github.com/millermedeiros/disparity.git"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^2.0.1","diff":"^1.3.2"},"jshintConfig":{"node":true,"eqnull":true},"gitHead":"77b555a71b91be037159e4c39b9cf23f5e8d41ab","_id":"disparity@1.3.0","_shasum":"2a30feefd64af079593f7867f52ed40c53623c16","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"millermedeiros","email":"miller@millermedeiros.com"},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"dist":{"shasum":"2a30feefd64af079593f7867f52ed40c53623c16","tarball":"https://registry.npmjs.org/disparity/-/disparity-1.3.0.tgz","integrity":"sha512-owd3/5FH3SVVGki2uloAKI2/IzHLoClDmcbonduwvbZI141XIXOkbPJSCaBaT615jOA6vVncxH/5PlY+iANThA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBa+UTJ+HbcYHB9+oLEy5QB7aejR7YA7Xbq8DznON/CaAiEA19kLInVJ+2Pu6WSRsCOvsqTHRNYJx1bwf7zF9XyTf/k="}]},"directories":{}},"1.3.1":{"name":"disparity","version":"1.3.1","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"https://github.com/millermedeiros/disparity.git"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^2.0.1","diff":"^1.3.2"},"jshintConfig":{"node":true,"eqnull":true},"gitHead":"0e2e4cf737da8323551f3b1bc171ba0f700d60f6","_id":"disparity@1.3.1","_shasum":"cb56940fbe02338a38290f989d060028e9f560b1","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"millermedeiros","email":"miller@millermedeiros.com"},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"dist":{"shasum":"cb56940fbe02338a38290f989d060028e9f560b1","tarball":"https://registry.npmjs.org/disparity/-/disparity-1.3.1.tgz","integrity":"sha512-cet4wy6hl1heKr7K4RAdBAOZ2X217jYKz1+MvlPkevxDEQgNyUIJDz9IsKPkCUGq0cd7AlfsGSyLU7sBG/fD/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsHWX8C66Yzrj52pOFDC7VW6QJO4x9PakpkIdy3a7b3AiBiHpBDYpN/Vi/l3buIKb4z1WoGulx1mZS3QvC4hkEpAw=="}]},"directories":{}},"2.0.0":{"name":"disparity","version":"2.0.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"https://github.com/millermedeiros/disparity.git"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^2.0.1","diff":"^1.3.2"},"jshintConfig":{"node":true,"eqnull":true},"gitHead":"7bd2d80e8f12790021291407a639300037c7aaf8","_id":"disparity@2.0.0","_shasum":"57ddacb47324ae5f58d2cc0da886db4ce9eeb718","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"millermedeiros","email":"miller@millermedeiros.com"},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"dist":{"shasum":"57ddacb47324ae5f58d2cc0da886db4ce9eeb718","tarball":"https://registry.npmjs.org/disparity/-/disparity-2.0.0.tgz","integrity":"sha512-caMA9oIQbDeobWc9MVUF0+o1APVo0UZnfD482x0RaLLAzpAc6Dla2mk5ef7onsG91tziIRr41rj4sVt3BOLLZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUMAqL/HCYu93BDY8VJZJJHpUHBPnxXYBoZuVZz6JIIAiEAkkEjQ1yIFrA+knxu08O4iLVoExshJGgoQWe/4/7D9xo="}]},"directories":{}},"3.0.0":{"name":"disparity","version":"3.0.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"git+https://github.com/millermedeiros/disparity.git"},"engines":{"node":">=8"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^4.1.0","diff":"^4.0.1"},"jshintConfig":{"node":true,"eqnull":true},"gitHead":"52973a5b4812bce6d7e59f7b8ea3e45893ffc50a","_id":"disparity@3.0.0","_nodeVersion":"13.1.0","_npmVersion":"6.13.0","_npmUser":{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},"dist":{"integrity":"sha512-n94Rzbv2ambRaFzrnBf34IEiyOdIci7maRpMkoQWB6xFYGA7Nbs0Z5YQzMfTeyQeelv23nayqOcssBoc6rKrgw==","shasum":"605288e8ebf38c5ccfe1e0dbc49ca6f724096500","tarball":"https://registry.npmjs.org/disparity/-/disparity-3.0.0.tgz","fileCount":7,"unpackedSize":13303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdw1UoCRA9TVsSAnZWagAARlQQAIbvOq54ARLQbgmj8cCL\n3k03G7D9bpDNJSwc65REa4RGgWFAvBfUe4gK76E+fi1xzejwI4xJ3N5kxwAL\nOZcL2Xi91de5M6QF1aeR70GFvriIq8/pMCw0vN0Et/ByTDj27yrgGSEly7X+\nARoeOWLUOkqMDjvNm+KyBamF4tYJNR6OF2R2NBG3y85A5COpDwhHl+N51F4C\nqZUnDT3o8mwjlvM6WXysb/kKZV40Jt5VvwVd1qNTZtxhVSDrFspV/+KJyJQS\nidTqdtAJZe2mflQwFYEYFavCGzYqRW0vJprqoWai6CkE0gVD1BAWGzWpMlVj\nTlQUyaH3Rztooacy+r04yMyr31W499xaXMBLlxklgNbeh2RZJqgdKCggUzXp\nJA5bdxTLolTOtj0CBCsCzA8GQ9IPpPfOeE6DELK628Z2CKiC0Z/TMVM4aEoP\nCiu8f8htIdrrFRxhvooV3aAwqgYUvGuHI2DUYCOng4ePDL9eigEYowt3zIYV\nbszGT18sY8tYZk/43H5sjki3AtsawuGTyi2RBxbZV77sHUFLcWIOHBuH5/09\nysq0g8ZHKnNymd64wMCCVvc+k4V4zkp87VHAMeypcCKhbzc1nJDtJqEI/tWx\nL+VOd/PV4A2sFJy/P4W1VaA/zq4G6x0twdgX6X0mR4b7D2ZLluwY25dURua6\ndHRl\r\n=VkzV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6PTy5GPokTqTRKK23Toc0/EYpgITYmePKAR3uOrBHHAIgV6QdpnT9zJAevjWj4MBQJiG6x6PFaEJ1MPjdC1EUMM0="}]},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/disparity_3.0.0_1573082408045_0.4023005817023646"},"_hasShrinkwrap":false},"3.1.0":{"name":"disparity","version":"3.1.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","types":"disparity.d.ts","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"git+https://github.com/millermedeiros/disparity.git"},"engines":{"node":">=8"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^4.2.1","diff":"^4.0.2"},"jshintConfig":{"node":true,"eqnull":true},"devDependencies":{},"gitHead":"b4fd2d6a8d53eb657b2f5af8a90ad4780df35408","_id":"disparity@3.1.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-HfKRKzbghP+UMUckZ4evbnc7p1TG7/Igk6nkDkSVxZtGixZY74Jcbqh4K5xHxrZsv+OjPmYTZy6dgpCQR0d3EA==","shasum":"cc2b6d708a91668b11a1876adf1407623fedfd7d","tarball":"https://registry.npmjs.org/disparity/-/disparity-3.1.0.tgz","fileCount":8,"unpackedSize":15895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJew0o4CRA9TVsSAnZWagAAiBcQAIXIQy2IPvtiEp0JaM7h\n0y/LoQskeuWR0qS6fZg/S6Bu2/JApbF+iwHrYqaSUkKdW3WqafnbiW4kWIle\nlNemKVTvlq5gqvwhcOoKn078okK43hGcU6t+dBUM9AAztBd5K1rZz9ZCr88w\nKRoUky8RpCf4VAjdCbDg44xTDdMg2CnhK/JZ/3d/RyUcKbYVcM2waYnF0OAv\nlWNmooaz8QdsbyL6J5qWOt2WYTa0Hx+RO5sj9C+Vs2+7let5kZktXIJO9CEw\nBJFTHxUMG115XvMatSz74Qh/gSbKmydD0CkMhiBHLRH7OvYqD82kKXAzAOYU\n3CuepuGrWnEITmG9H8WpAm/w3a8mwp2G5wbfqs8ju9R65Z5SrX+RUsTF7L6p\nhw0BoBUFAspfrrmOEhqs6PMVrUIF5QJzUNwhTSI3UIze18gPXp6lCQdgi/Zz\nv1ob+SWIPtHb5dfVJAy8o3AcoY/Hg3HPapz9+AIEJTDoZTUG2qmaxrBKZNTf\nd/Zw/BMAi++yIh8s6WimNgw2gaxBewMUckTHIbsbYokwyBsvinScX7JEThlc\n+vYVxkd7LbSi85wCKNiPquSb7eiT2aXtXKSJoRGnTaA/PMYHXj1EbipkyVtC\nXpzdw7WxoTnG++FEzmGKGZ0IJtQFhl9H2nI8lQ09iXWAkT12+4USCv3H7/XF\nSRQV\r\n=WX76\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrazX4Pyqk9fapApZtjFoYGkGCARNIJbXt5ldm09cEsAiBI6ZcAY5DlJZpkZ60yg3WSlk+rFs6XnAigLTjC/ZGpNg=="}]},"maintainers":[{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"_npmUser":{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/disparity_3.1.0_1589856824299_0.6205033153407908"},"_hasShrinkwrap":false},"3.2.0":{"name":"disparity","version":"3.2.0","description":"Colorized string diff ideal for text/code that spans through multiple lines","main":"disparity.js","types":"disparity.d.ts","bin":{"disparity":"bin/disparity"},"scripts":{"test":"node test/runner.js"},"repository":{"type":"git","url":"git+https://github.com/millermedeiros/disparity.git"},"engines":{"node":">=8"},"keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"license":"MIT","bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"homepage":"https://github.com/millermedeiros/disparity","dependencies":{"ansi-styles":"^4.2.1","diff":"^4.0.2"},"jshintConfig":{"node":true,"eqnull":true},"devDependencies":{},"gitHead":"247e7d09f9a4fb3f1394fb1135696f243d7bfced","_id":"disparity@3.2.0","_nodeVersion":"14.15.4","_npmVersion":"7.4.2","dist":{"integrity":"sha512-8cl9ouncFYE7OQsYwJNiy2e15S0xN80X1Jj/N/YkoiM+VGWSyg1YzPToecKyYx2DQiJapt5IC8yi43GW23TUHQ==","shasum":"7198eaf7a873a130f8098c93061c1df8934500f2","tarball":"https://registry.npmjs.org/disparity/-/disparity-3.2.0.tgz","fileCount":8,"unpackedSize":16035,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCGImCRA9TVsSAnZWagAAzAsP/1msDFf+qoVxD6ydaLJt\n7H/WxK3xbt64xOuFnD0OhtmXv24DoQgHfW+dzZb8pFFAkOdzvw4JvZz36rc+\nxxe4YlwsKwL4iTtLrXWdSJyQ1ihfrrf7OtcWjguvow1CPgqDCRyPHh0yLup4\ntjDnVUyjQISY6J3j0baEysLYWk0oIb1u8Pqawzw91W/Tw7Gh39IWrTJp0sHU\ny1Vd+mHWHDwE/NsjZl3esSs2OPyUVsBW/+4YrqOb8g5eWasRPrFq7cyA7H2f\nlcp/x1K/KFNyBzCyxuWS3VwWI2eKJ1q7Pv7lxMSD+Ktj0njLOQvscLxkkAo0\n/Xp95O1o4HQZLxlGwHQpm7hXmayV9dGJ1Qoyh10UYVrEnKCUCaXs3YjRrgRV\neYQVma7JXJiN0V1ThRfRJ78UPKcbe9OprXlyN+zytuq7gbEzzDq+b+wBC20R\nn25oqgnG8sWrQkn2dr65qojaHX2utPUTub7Gm0FRjx7mRnMYO0Xwkcyp71zd\nn4TA17/DPVC4QiVn+WeqWzK2w0qI9dx4ZRUgu66pKAB/3Wufsgy177f6oRyo\n6StfiKAQ5mt40XeCN/1CH4S7nzIr5olkUL2h8kpssvX2HqhS9S+xEx9LIrb6\nJbKkGVWQZHYh6wUsICp8U4uI3aoW67yVrFUILhfMId73Q1IRh1RoOzzswFmz\nvR8/\r\n=gI0A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzf9knomS5iG1kP/6qLTqiM4befueVVvbngth8Kd+b1AiBmdXbkku6AMFgVdP/79Wtczz2vACTXzHRYVczSkzt9KQ=="}]},"_npmUser":{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},"directories":{},"maintainers":[{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/disparity_3.2.0_1611162149874_0.8333058564321121"},"_hasShrinkwrap":false}},"readme":"# disparity\n\nColorized string diff ideal for text/code that spans through multiple lines.\n\nThis is basically just a wrapper around\n[diff](https://www.npmjs.com/package/diff) and\n[ansi-styles](https://www.npmjs.com/package/ansi-styles) + line numbers and\nomitting lines that don't have changes and/or that wouldn't help user identify\nthe diff \"context\".\n\nWe also replace some *invisible* chars to make it easier to understand what\nreally changed from one file to another:\n\n - `\\r` becomes `<CR>`\n - `\\n` becomes `<LF>`\n - `\\t` becomes `<tab>`\n\nCreated mainly to be used by\n[esformatter](https://www.npmjs.com/package/esformatter) and other tools that\nmight need to display a nice looking diff of source files.\n\n\n## API\n\n```js\nvar disparity = require('disparity');\n```\n\n### chars(oldStr, newStr[, opts]):String\n\nDiffs two blocks of text, comparing character by character and returns\na `String` with ansi color codes.\n\n```js\nvar diff = disparity.chars(file1, file2);\nconsole.log(diff);\n```\n\nWill return an empty string if `oldStr === newStr`;\n\n```js\n// default options\nvar opts = {\n  // how many lines to display before/after a line that contains diffs\n  context: 3,\n  // file paths displayed just before the diff\n  paths: [disparity.removed, disparity.added]\n};\n```\n\n![screenshot char diff](https://raw.githubusercontent.com/millermedeiros/disparity/master/screenshots/chars.png)\n\n### unified(oldStr, newStr[, opts]):String\n\nReturns ansi colorized [unified\ndiff](http://en.wikipedia.org/wiki/Diff_utility#Unified_format).\n\nWill return an empty string if `oldStr === newStr`;\n\n```js\nvar diff = disparity.unified(file1, file2, {\n  paths: ['test/file1.js', 'test/file2.js']\n});\nconsole.log(diff);\n```\n\n![screenshot unified diff](https://raw.githubusercontent.com/millermedeiros/disparity/master/screenshots/unified.png)\n\n### unifiedNoColor(oldStr, newStr[, opts]):String\n\nReturns [unified diff](http://en.wikipedia.org/wiki/Diff_utility#Unified_format).\nUseful for terminals that [doesn't support colors](https://www.npmjs.com/package/supports-color).\n\nWill return an empty string if `oldStr === newStr`;\n\n```js\nvar diff = disparity.unifiedNoColor(file1, file2, {\n  paths: ['test/file1.js', 'test/file2.js']\n});\nconsole.log(diff);\n```\n\n![screenshot unified diff no color](https://raw.githubusercontent.com/millermedeiros/disparity/master/screenshots/unified_no_color.png)\n\n### removed:String\n\nString used on the diff headers to say that chars/lines was removed.\n\n```js\n// default value\ndisparity.removed = 'removed';\n```\n\n### added:String\n\nString used on the diff headers to say that chars/lines was added.\n\n```js\n// default value\ndisparity.added = 'added';\n```\n\n### colors:Object\n\nObject containing references to all the colors used by disparity.\n\nIf you want a different output than `ansi` (eg. HTML) you can replace the color\nvalues:\n\n```js\n// wrap blocks into custom tags\ndisparity.colors = {\n  // chars diff\n  charsRemoved: { open: '<bggreen>', close: '</bggreen>' },\n  charsAdded: { open: '<bgred>', close: '</bgred>' },\n\n  // unified diff\n  removed: { open: '<red>', close: '</red>' },\n  added: { open: '<green>', close: '</green>' },\n  header: { open: '<yellow>', close: '</yellow>' },\n  section: { open: '<magenta>', close: '</magenta>' }\n};\n```\n\n## CLI\n\n`disparity` also have a command line interface:\n\n```\ndisparity [OPTIONS] <file_1> <file_2>\n\nOptions:\n  -c, --chars           Output char diff (default mode).\n  -u, --unified         Output unified diff.\n  --unified-no-color    Don't output colors.\n  -v, --version         Display current version.\n  -h, --help            Display this help.\n```\n\nPS: cli can only compare 2 external files at the moment, no `stdin` support.\n\n## License\n\nReleased under the MIT license.\n\n","maintainers":[{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},{"name":"millermedeiros","email":"miller@millermedeiros.com"}],"time":{"modified":"2022-06-15T05:06:36.954Z","created":"2015-04-01T04:46:47.641Z","1.0.0":"2015-04-01T04:46:47.641Z","1.1.0":"2015-04-01T05:34:49.672Z","1.2.0":"2015-04-01T14:28:13.757Z","1.3.0":"2015-04-01T18:23:12.392Z","1.3.1":"2015-04-01T20:05:04.840Z","2.0.0":"2015-04-04T02:15:32.464Z","3.0.0":"2019-11-06T23:20:08.126Z","3.1.0":"2020-05-19T02:53:44.431Z","3.2.0":"2021-01-20T17:02:30.016Z"},"homepage":"https://github.com/millermedeiros/disparity","keywords":["diff","char","unified","multiline","string","color","ansi","terminal","cli","tty"],"repository":{"type":"git","url":"git+https://github.com/millermedeiros/disparity.git"},"author":{"name":"Miller Medeiros","email":"http://millermedeiros.com"},"bugs":{"url":"https://github.com/millermedeiros/disparity/issues"},"license":"MIT","readmeFilename":"README.md","users":{"millermedeiros":true}}