{"_id":"git-list-pack","_rev":"4170305","name":"git-list-pack","description":"create a readable stream of a packfile's contents, sans an index file","dist-tags":{"latest":"0.0.10"},"maintainers":[{"name":"chrisdickinson","email":""}],"time":{"modified":"2026-03-01T21:13:31.000Z","created":"2013-04-02T07:57:49.409Z","0.0.10":"2013-05-27T20:08:13.084Z","0.0.9":"2013-05-27T19:29:22.499Z","0.0.8":"2013-05-22T07:36:18.393Z","0.0.7":"2013-05-10T18:19:06.259Z","0.0.6":"2013-05-06T00:09:29.457Z","0.0.5":"2013-05-04T23:44:47.518Z","0.0.4":"2013-04-22T07:00:57.819Z","0.0.3":"2013-04-22T06:45:51.988Z","0.0.2":"2013-04-05T19:48:40.630Z","0.0.1":"2013-04-02T07:57:49.409Z"},"users":{},"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"versions":{"0.0.10":{"name":"git-list-pack","version":"0.0.10","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate":"0.0.6","bops":"~0.0.6"},"devDependencies":{"tape":"~1.0.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.10","dist":{"shasum":"d3ab1a0d3c854b838e9334138e17dc564367024b","size":281462,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.10.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1369685293084,"_hasShrinkwrap":false,"_cnpm_publish_time":1369685293084,"_cnpmcore_publish_time":"2021-12-16T15:36:41.067Z"},"0.0.9":{"name":"git-list-pack","version":"0.0.9","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate":"0.0.5","bops":"0.0.3"},"devDependencies":{"tape":"~1.0.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.9","dist":{"shasum":"32c844084febd027584aea2c3ffc7a3263bcc74e","size":281456,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.9.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1369682962499,"_hasShrinkwrap":false,"_cnpm_publish_time":1369682962499,"_cnpmcore_publish_time":"2021-12-16T15:36:41.775Z"},"0.0.8":{"name":"git-list-pack","version":"0.0.8","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate":"0.0.5","bops":"0.0.3"},"devDependencies":{"tape":"~1.0.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.8","dist":{"shasum":"f06d8894883a57b6474e44fcb6d3ae4b8e1b4fc7","size":281454,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.8.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1369208178393,"_hasShrinkwrap":false,"_cnpm_publish_time":1369208178393,"_cnpmcore_publish_time":"2021-12-16T15:36:42.463Z"},"0.0.7":{"name":"git-list-pack","version":"0.0.7","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate":"0.0.5","bops":"0.0.3"},"devDependencies":{"tape":"~1.0.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.7","dist":{"shasum":"e7a9d84f6583f8ba49f40756fb1b1498035f3e17","size":281454,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.7.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1368209946259,"_hasShrinkwrap":false,"_cnpm_publish_time":1368209946259,"_cnpmcore_publish_time":"2021-12-16T15:36:43.313Z"},"0.0.6":{"name":"git-list-pack","version":"0.0.6","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate":"0.0.4","bops":"0.0.3"},"devDependencies":{"tape":"~1.0.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.6","dist":{"shasum":"7660af25498b36207f635e2f65302f72ad7620ae","size":281060,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.6.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1367798969457,"_hasShrinkwrap":false,"_cnpm_publish_time":1367798969457,"_cnpmcore_publish_time":"2021-12-16T15:36:43.962Z"},"0.0.5":{"name":"git-list-pack","version":"0.0.5","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate":"0.0.3","bops":"0.0.2"},"devDependencies":{"tape":"~1.0.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.5","dist":{"shasum":"6c3bee4e516ff8f258118c4773ac432e9d691fe0","size":281061,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.5.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1367711087518,"_hasShrinkwrap":false,"_cnpm_publish_time":1367711087518,"_cnpmcore_publish_time":"2021-12-16T15:36:44.537Z"},"0.0.4":{"name":"git-list-pack","version":"0.0.4","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate":"0.0.2"},"devDependencies":{"tape":"0.3.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.4","dist":{"shasum":"b426835aca88488943ff421d4d925edd2cbcaf5d","size":281024,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.4.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1366614057819,"_hasShrinkwrap":false,"_cnpm_publish_time":1366614057819,"_cnpmcore_publish_time":"2021-12-16T15:36:45.084Z"},"0.0.3":{"name":"git-list-pack","version":"0.0.3","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate-until":"0.0.6","inflate":"0.0.2"},"devDependencies":{"tape":"0.3.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.3","dist":{"shasum":"eb179667562469e50760d52058b3715373d37b0b","size":281116,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.3.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1366613151988,"_hasShrinkwrap":false,"_cnpm_publish_time":1366613151988,"_cnpmcore_publish_time":"2021-12-16T15:36:45.749Z"},"0.0.2":{"name":"git-list-pack","version":"0.0.2","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate-until":"0.0.6"},"devDependencies":{"tape":"0.3.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.2","dist":{"shasum":"2c908ebe8ae7452638d88e7a06253a86ee164d48","size":281015,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.2.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1365191320630,"_hasShrinkwrap":false,"_cnpm_publish_time":1365191320630,"_cnpmcore_publish_time":"2021-12-16T15:36:46.430Z"},"0.0.1":{"name":"git-list-pack","version":"0.0.1","description":"create a readable stream of a packfile's contents, sans an index file","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/git-list-pack.git"},"keywords":["git","packfile","unpack","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","dependencies":{"through":"~2.2.7","inflate-until":"0.0.6"},"devDependencies":{"tape":"0.3.1"},"readmeFilename":"README.md","_id":"git-list-pack@0.0.1","dist":{"shasum":"35d191a371abb9639e7b122a2fa86deb25bbd4cc","size":280986,"noattachment":false,"key":"/git-list-pack/-/git-list-pack-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/git-list-pack/download/git-list-pack-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"chrisdickinson","email":""}],"directories":{},"publish_time":1364889469409,"_hasShrinkwrap":false,"_cnpm_publish_time":1364889469409,"_cnpmcore_publish_time":"2021-12-16T15:36:46.899Z"}},"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","_attachments":{},"readmeFilename":"README.md","license":"MIT"}