{"dist":{"shasum":"b426835aca88488943ff421d4d925edd2cbcaf5d","tarball":"https://registry.npmjs.org/git-list-pack/-/git-list-pack-0.0.4.tgz","integrity":"sha512-+kpOa1X6wn3ALMKC77oqrGrvnEZLUoUiJ61IfpKjNK1kUSJh3NYysCQnB+EvSqIV0PWdyKkhSLaE57A+YoeJ6w==","signatures":[{"sig":"MEUCIQCRDoIlDqaAxVOqMGpuWkC5A7G2ZxdVdBVOPohBNHk+FAIgBflXsz5WkGF9zljWUGRvCcW1soTsIEfkj9l03TK/jcc=","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":{"inflate":"0.0.2","through":"~2.2.7"},"readmeFilename":"README.md","devDependencies":{"tape":"0.3.1"},"_id":"git-list-pack@0.0.4","version":"0.0.4"}