{"name":"diff-lines","version":"1.1.0","description":"Given two strings, show the lines that differ. (similar to `git diff`)","main":"index.js","files":["index.js"],"scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/diff-lines.git"},"keywords":["diff","testing","cli"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/diff-lines/issues"},"homepage":"https://github.com/smallhelm/diff-lines#readme","devDependencies":{"lodash":"^4.13.1","tape":"^4.6.0"},"dependencies":{"diff":"^2.2.3"},"gitHead":"9dd698822ff805ac5493852c28e8738074e4a402","_id":"diff-lines@1.1.0","_shasum":"4bbd925713e027477bcd42081b68449147b19648","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"farskipper","email":"farskipper@smallhelm.com"},"dist":{"shasum":"4bbd925713e027477bcd42081b68449147b19648","tarball":"http://registry-npm.ywwl.com/diff-lines/download/diff-lines-1.1.0.tgz","integrity":"sha512-i+SjXDo/mGXoayTUM86hj4Uozw9NigsGVWuMTvMeQFxV7Z/vBRJk6aMkhNWyFv+Xm2qdZ/5B/68F2W06NJLXcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGx7egaYXsIuELZqbYq5xYPXi8Z55NGm4Gj3Ju3G+fRuAiEAvEYsf2mlUcMsiarV1sNEpmZa7Do4ZuwYyP5/H7SippA="}],"size":1973,"noattachment":false,"key":"/diff-lines/-/diff-lines-1.1.0.tgz"},"maintainers":[{"name":"farskipper","email":"farskipper@smallhelm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/diff-lines-1.1.0.tgz_1466617302099_0.9756281583104283"},"directories":{},"readme":"# diff-lines\n\n[![build status](https://secure.travis-ci.org/smallhelm/diff-lines.svg)](https://travis-ci.org/smallhelm/diff-lines)\n\nGiven two strings, show the lines that differ. (similar to `git diff`)\n\n```js\nvar diff = require('diff-lines');\n\nvar a = '';\na += 'one\\n';\na += 'two\\n';\na += 'three\\n';\n\nvar b = '';\nb += 'one\\n';\nb += 'three\\n';\nb += 'four\\n';\n\nconsole.log(diff(a, b));\n```\nOutput:\n```txt\n one\n-two\n three\n+four\n```\n\n## API\n### diff(a, b[, options])\n* `options.n_surrounding` - number of lines surrounding a diff to show. (default -1, show all lines)\n\n## License\nMIT\n","publish_time":1466617302623,"deprecated":"This package is no longer maintained.","_cnpm_publish_time":1466617302623,"dist-tags":{"latest":"1.1.1"}}