{"dist":{"shasum":"f06d8894883a57b6474e44fcb6d3ae4b8e1b4fc7","tarball":"https://registry.npmjs.org/git-list-pack/-/git-list-pack-0.0.8.tgz","integrity":"sha512-ch7OvF/0p3onz+A0UyHJeiwVF1gNCFtAtHjVmnTIg/pHGEO22br+kEC5ZGRVB18RKul0UUZIiw64BKJdaNaIMA==","signatures":[{"sig":"MEUCIHRIjCvJIisLmhiPv0PtX9bHqOWh3ZZwU2ADLfMmXuZhAiEAjghyykbdpa1P/eJWTvwXGIyVME/nYfqDacEhycobXp4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"git-list-pack","_from":".","author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"readme":"# git-list-pack\n\ngiven a stream of packfile contents, emit the raw git\nobjects contained within + their offsets.\n\nnote, this doesn't do the actual translation into *real* git objects,\nrather, it'll give you the inflated data that an object represents\nand its offset; likewise it skips actually applying deltas in the case\nof ofs and ref delta. other modules will do that.\n\n```javascript\nvar list = require('git-list-pack')\n\nfs.createReadStream('path/to/file.pack')\n  .pipe(list())\n  .on('data', function(obj) {\n    console.log(obj)\n  })\n\n```\n\n## API\n\n#### list() -> pack list stream\n\ncreate a through stream of pack objects.\n\n## \"data\" event\n\n```javascript\n{ reference: Array | Buffer | null // if delta, reference will contain the relevant offset data.\n, data: Buffer // the inflated data\n, type: 1 | 2 | 3 | 4 | 6 | 7 // the packed git object type\n, offset: Number // the offset into the packfile\n, num: Number } // the number of the object from expected_objects -> 0\n```\n\n## License\n\nMIT\n","license":"MIT","scripts":{"test":"node test.js"},"_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"keywords":["git","packfile","unpack","stream"],"repository":{"url":"git://github.com/chrisdickinson/git-list-pack.git","type":"git"},"_npmVersion":"1.2.14","description":"create a readable stream of a packfile's contents, sans an index file","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}],"dependencies":{"bops":"0.0.3","inflate":"0.0.5","through":"~2.2.7"},"readmeFilename":"README.md","devDependencies":{"tape":"~1.0.1"},"_id":"git-list-pack@0.0.8","version":"0.0.8"}