{"dist":{"shasum":"b85046931f3e4a65679b5de54af3a5d3df372646","tarball":"https://registry.npmjs.org/git-packed-ref-parse/-/git-packed-ref-parse-0.0.0.tgz","integrity":"sha512-wp+YhR4+qVSb8NXv2iFdmSPIh676Tqhuut7saS7CH0oEQA+PAT6Hx0bFvN2ej4PDxK+2aj4mVcvwjcH/sujxTA==","signatures":[{"sig":"MEYCIQCnuKpWVuoMVEQvEKAw9Paj8ltI1oi9umBPRAoXj1jgIAIhAIDsZdKdvY4f2HFrPWe3kdiM0Dhg+/AQOJLjOPPva9ZS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","name":"git-packed-ref-parse","_from":".","author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"readme":"# git-packed-ref-parse\n\nparse packed-ref file streams into javascript objects.\n\n```javascript\n// after git gc in a git repo\nvar fs = require('fs')\n  , parse = require('git-packed-ref-parse')\n\nfs.createReadStream('.git/packed-refs')\n  .pipe(parse())\n  .on('data', console.log)\n\n``` \n\n## API\n\n#### parse() -> parse stream\n\ncreate a parse stream. when piped to, it will set\nthe encoding of the source stream to `utf8`.\n\n#### data event\n\nthe parse stream will emit data events for each\nref contained in the `packed-ref` file.\n\nthey take this form:\n\n```javascript\n{ \"hash\": \"40 character git hash\"\n, \"name\": \"ref name\"\n, \"commit\": null | \"40 character git hash\" }\n```\n\n`commit` will usually be `null`, except for annotated\n`tag` references.\n\n## License\n\nMIT\n","license":"MIT","scripts":{"test":"node test.js"},"_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"keywords":["git","packed-ref","parser","stream"],"repository":{"url":"git://github.com/chrisdickinson/git-packed-ref-parse.git","type":"git"},"_npmVersion":"1.2.14","description":"streaming git packed-ref parser","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}],"dependencies":{"through":"~2.2.7","line-stream":"0.0.0"},"readmeFilename":"README.md","devDependencies":{"tape":"~0.3.0"},"_id":"git-packed-ref-parse@0.0.0","version":"0.0.0"}