{"_id":"git-diff-tree","_rev":"16-b101d1a9c02842f787545f3da89b7768","name":"git-diff-tree","description":"Shelling out to git-diff-tree(1) in a Node streamy fashion","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"git-diff-tree","version":"0.1.0","description":"Shelling out to git-diff-tree(1) in a Node streamy fashion","main":"index.js","dependencies":{"bubble-stream-error":"~0.0.1","git-spawned-stream":"~0.1.0","split-transform-stream":"~0.1.1","through2":"~0.5.1"},"devDependencies":{"proxyquire":"~1.0.1","should":"~4.0.4","mocha":"~1.20.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/alessioalex/git-diff-tree"},"keywords":["git","diff","tree","diff-tree","git-diff"],"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/alessioalex/git-diff-tree/issues"},"homepage":"https://github.com/alessioalex/git-diff-tree","_id":"git-diff-tree@0.1.0","dist":{"shasum":"b384fa34986af0a57eabcd58e8f3316130413bad","tarball":"https://registry.npmjs.org/git-diff-tree/-/git-diff-tree-0.1.0.tgz","integrity":"sha512-OgHH+JSik2QP8kvJtiLGbgYEGbtgvme77HWMz4CnNZ+Jx0lZJCKG/G+TpND5PzJAuxW+AyyZ4JRIxex8Ver/5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjG6Le/DAoRd6Y7JY1bNJd8/eUDzMH+8/xFyPQSpBsbAiBMltZg9TXTtW4sXGKLL/0faQ58foQfCqzpGbCFiPt8aw=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"directories":{}},"0.1.1":{"name":"git-diff-tree","version":"0.1.1","description":"Shelling out to git-diff-tree(1) in a Node streamy fashion","main":"index.js","dependencies":{"bubble-stream-error":"~0.0.1","git-spawned-stream":"~0.1.0","split-transform-stream":"~0.1.1","through2":"~0.5.1"},"devDependencies":{"proxyquire":"~1.0.1","should":"~4.0.4","mocha":"~1.20.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/alessioalex/git-diff-tree"},"keywords":["git","diff","tree","diff-tree","git-diff"],"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/alessioalex/git-diff-tree/issues"},"homepage":"https://github.com/alessioalex/git-diff-tree","_id":"git-diff-tree@0.1.1","dist":{"shasum":"95ad5dc0c797225291bc7b17e878dc75692c8249","tarball":"https://registry.npmjs.org/git-diff-tree/-/git-diff-tree-0.1.1.tgz","integrity":"sha512-Tzq0YYqO0yzuycrJjHVKE6Zp2e1VNd1iiylF64e8n/zgLAZV95AtAbXv3zbaml4Us1rt7G5tuDTdzv6JDaVFTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtwstT68WJnNHl7ZteBvd8RzH3g4WAjvvS319RwP8+ogIhAMaFbDs1j/G6j5q2C3ff8s0mFX5UcguAfWxI7yV55AnH"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"directories":{}},"0.1.2":{"name":"git-diff-tree","version":"0.1.2","description":"Shelling out to git-diff-tree(1) in a Node streamy fashion","main":"index.js","dependencies":{"bubble-stream-error":"~0.0.1","git-spawned-stream":"~0.1.0","split-transform-stream":"~0.1.1","through2":"~0.5.1"},"devDependencies":{"proxyquire":"~1.0.1","should":"~4.0.4","mocha":"~1.20.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/alessioalex/git-diff-tree"},"keywords":["git","diff","tree","diff-tree","git-diff"],"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/alessioalex/git-diff-tree/issues"},"homepage":"https://github.com/alessioalex/git-diff-tree","_id":"git-diff-tree@0.1.2","dist":{"shasum":"8c8a282b8184db56338ac1da2b8b8190ceff7ac2","tarball":"https://registry.npmjs.org/git-diff-tree/-/git-diff-tree-0.1.2.tgz","integrity":"sha512-D3FzVd4OhPg7fOLmWPJkJvUh20W9oN7/nfOy3qfHl49iOHTCfn0E1eSGhhBtEhmU/K7tnv2U+X4O8QyEi1tDJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEwNiqByiqZf+KyoYhTe9wqj7ofYh1WghZAzIqH9RK6QIhAKsksFz44hoDy40LLyHCmMbi7OBNDhe50rIpGjK33dPK"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"directories":{}},"1.0.0":{"name":"git-diff-tree","version":"1.0.0","description":"Shelling out to git-diff-tree(1) in a Node streamy fashion","main":"index.js","dependencies":{"git-spawned-stream":"~0.1.0","pump-chain":"^1.0.0","split-transform-stream":"~0.1.1","through2":"~2.0.0"},"devDependencies":{"alessioalex-standard":"^1.1.0","husky":"^0.10.2","mocha":"^2.3.4","proxyquire":"^1.7.3","should":"^7.1.1"},"scripts":{"test":"mocha","lint":"alessioalex-standard","precommit":"npm run lint && npm test"},"repository":{"type":"git","url":"git+https://github.com/alessioalex/git-diff-tree.git"},"keywords":["git","diff","tree","diff-tree","git-diff"],"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/alessioalex/git-diff-tree/issues"},"homepage":"https://github.com/alessioalex/git-diff-tree","gitHead":"937a3c0084033974f30e10866f0292be0a829580","_id":"git-diff-tree@1.0.0","_shasum":"141e5641769d065997a6b94c3a2c60e062b54da8","_from":".","_npmVersion":"2.14.9","_nodeVersion":"4.2.1","_npmUser":{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"},"dist":{"shasum":"141e5641769d065997a6b94c3a2c60e062b54da8","tarball":"https://registry.npmjs.org/git-diff-tree/-/git-diff-tree-1.0.0.tgz","integrity":"sha512-6ftp6CKR7eecUeKx428sl9OOn8N89fCzcSuIUpTqsq0YM2W6VH3rbOYDe1fFpG/b7kc0glhL6hEFDje4JoLdrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQQS6HhDim0dM0Gpu+DqHDDBQpQ0oaMOteigmUVcAjGgIhALJ9W1UYMr+YJIXp2vcFGPNIaYjBAHwHiqJxXIW9Hkey"}]},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"directories":{}},"1.1.0":{"name":"git-diff-tree","version":"1.1.0","description":"Shelling out to git-diff-tree(1) in a Node streamy fashion","main":"index.js","dependencies":{"git-spawned-stream":"1.0.1","pump-chain":"1.0.0","split-transform-stream":"0.1.1","through2":"2.0.0"},"devDependencies":{"alessioalex-standard":"^1.1.0","husky":"^0.10.2","mocha":"^2.3.4","proxyquire":"^1.7.3","should":"^7.1.1"},"scripts":{"test":"mocha","lint":"alessioalex-standard","precommit":"npm run lint && npm test"},"repository":{"type":"git","url":"git+https://github.com/alessioalex/git-diff-tree.git"},"keywords":["git","diff","tree","diff-tree","git-diff"],"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/alessioalex/git-diff-tree/issues"},"homepage":"https://github.com/alessioalex/git-diff-tree","gitHead":"9b8f0a0111c2b3ea79189bbbcb543889b4dddafc","_id":"git-diff-tree@1.1.0","_nodeVersion":"10.16.2","_npmVersion":"6.9.0","dist":{"integrity":"sha512-PdNkH2snpXsKIzho6OWMZKEl+KZG6Zm+1ghQIDi0tEq1sz/S1tDjvNuYrX2ZpomalHAB89OUQim8O6vN+jesNQ==","shasum":"05cd0b2fa9ebf1630ba643fe89d8ccbb2635f7bb","tarball":"https://registry.npmjs.org/git-diff-tree/-/git-diff-tree-1.1.0.tgz","fileCount":12,"unpackedSize":26283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/LfhCRA9TVsSAnZWagAAZD0QAIQFaAWgPz2WDsi1n60y\nRcPGi3F6wFeFQHi7ewOFjJZhl0kvmhpeaE1jYCI39bEboDNo6WuuNSg3bvF8\nsuQ6Q50cqDDzZaIhe+3E4Pn/uM8YUTV4b5lwcjnTTln+abFLmT58d2MzJbSB\n+s4BxLiCixzis2alWQhV8Px+8OLDtI5ejXcpiBA9Z//vGzsGeG+94AxmRLmb\nUF3konp6LR2upwcnLZSRyth62tUWeWiEwBI97vjGf6F+IV+9U5DDIB7MMvS5\n7M/wYG4sj7tmgTGDpRZEzGcbQ7Lrs1Vo+gRxLimRC9A3ipJPGQXWdQMrtYSA\nKu3ZEtFOvwJ3/n/E7Wos81IAZMVyUEU1S8QDsSQ5p8mVfXqj6lAH+lznU0ty\nh8kCuMs3OFatdFbv50HvAwqZfreyoDTuNEqmJdG+BCz7YXN7429daeKTLbZm\nhvScQq/9Ke/xWLwGlut5KBhRHbHxNe+lzAqeRync4NhoLoj1h9cMFYFF/OrB\n8IU47ZAjLTlPkPBMBb8jp8ad4ES5rnporqBvOPoxlFJ/yD1AbeQiipo9yb28\nIMFJkgv+kN8gZwQgaGayGDKD1othL41Tha/xCV0rjw1Oja4W6riFXm2NS2UM\nixvqQERtsxHHPXuEv2Ekz7tlwN2lAipY6AeEhgSHBZN7l0V8F/hLtPCgvwpP\nlnMz\r\n=XLV9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4VYgVrB/U6SIex+OV4yOlkCnFe/rzfaKLKzFuNJLRJAiEAvAYYpCkvVNkQ9FPp+X0RJKIgddAxIX3gMdCMpSMyoN4="}]},"maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"_npmUser":{"name":"alessioalex","email":"npm@services.alessioalex.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-diff-tree_1.1.0_1576843233187_0.15599263435352628"},"_hasShrinkwrap":false}},"readme":"# git-diff-tree\n\nShelling out to [git-diff-tree(1)](https://www.kernel.org/pub/software/scm/git/docs/git-diff-tree.html) in a Node streamy fashion.\n\n[![build status](https://secure.travis-ci.org/alessioalex/git-diff-tree.png)](http://travis-ci.org/alessioalex/git-diff-tree)\n\n## Usage\n\n```js\ngitDiffTree(repoPath, [options]);\n```\n\nWhere options defaults to:\n\n```js\n{\n  rev : 'HEAD',\n  originalRev : '--root',\n  // don't output data for files that have more lines changed than allowed\n  MAX_DIFF_LINES_PER_FILE: 300,\n  // when the diff output is bigger than the limit destroy the stream\n  MAX_DIFF_SIZE: (3 * 1024 * 1024) // 3 Mb\n}\n```\n\nExample:\n\n```js\nvar gitDiffTree = require('git-diff-tree');\nvar path = require('path');\nvar repoPath = path.resolve(process.env.REPO || (__dirname + '/../.git'));\n\ngitDiffTree(repoPath).on('data', function(type, data) {\n  if (type === 'raw') {\n    console.log('RAW DATA');\n  } else if (type === 'patch') {\n    console.log('PATCH DATA');\n  } else if (type === 'stats') {\n    console.log('FILE STATS');\n  } else if (type === 'noshow') {\n    console.log('Diffs not shown because files were too big');\n  }\n  console.log('------ \\n');\n  console.log(data);\n  console.log('=================\\n');\n  // console.log(type, data);\n}).on('error', function(err) {\n  console.log('OH NOES!!');\n  throw err;\n}).on('cut', function() {\n  console.log('-----------------');\n  console.log('Diff to big, got cut :|');\n}).on('end', function() {\n  console.log('-----------------');\n  console.log(\"That's all folks\");\n});\n```\n\n## Tests\n\n```\nnpm test\n```\n\n## License\n\nMIT\n","maintainers":[{"name":"alessioalex","email":"alexandru.vladutu@gmail.com"}],"time":{"modified":"2022-06-18T08:28:01.747Z","created":"2014-06-13T12:17:05.071Z","0.1.0":"2014-06-13T12:17:06.770Z","0.1.1":"2014-07-13T21:09:22.567Z","0.1.2":"2014-07-14T07:44:02.077Z","1.0.0":"2015-11-27T08:44:01.036Z","1.1.0":"2019-12-20T12:00:33.300Z"},"readmeFilename":"README.md","homepage":"https://github.com/alessioalex/git-diff-tree","keywords":["git","diff","tree","diff-tree","git-diff"],"repository":{"type":"git","url":"git+https://github.com/alessioalex/git-diff-tree.git"},"author":{"name":"Alexandru Vladutu","email":"alexandru.vladutu@gmail.com"},"bugs":{"url":"https://github.com/alessioalex/git-diff-tree/issues"},"license":"MIT","users":{"fgribreau":true}}