{"name":"diff-lines","version":"1.0.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":{"tape":"^4.6.0"},"dependencies":{"diff":"^2.2.3"},"gitHead":"7ef6272124bcd257e587582beac24a02850f3c83","_id":"diff-lines@1.0.0","_shasum":"9da21e5928bd4e7d4bf0041d3b532dfb93977fe7","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"farskipper","email":"farskipper@smallhelm.com"},"dist":{"shasum":"9da21e5928bd4e7d4bf0041d3b532dfb93977fe7","tarball":"http://registry-npm.ywwl.com/diff-lines/download/diff-lines-1.0.0.tgz","integrity":"sha512-2PZXVP0K4q+OYXQNuP9Pgj9BUSuKcBOQTy9LhuUGQT+BIwT9TkCe87Y/bAGQd5t87O5xThCrPAnVKYLY7LO2xQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqrzvMV05lQHlDIfZUfCts/xv80oqOEAQWxRJZ246NDAiAO07smNHzpByDeoEwLINWbu8s9gSCHbc/CX8jCgJlsoA=="}],"size":1610,"noattachment":false,"key":"/diff-lines/-/diff-lines-1.0.0.tgz"},"maintainers":[{"name":"farskipper","email":"farskipper@smallhelm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/diff-lines-1.0.0.tgz_1466614066910_0.8074494858738035"},"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":1466614068998,"deprecated":"This package is no longer maintained.","_cnpm_publish_time":1466614068998,"dist-tags":{"latest":"1.1.1"}}