$ npm install git-pack-objects
a through stream transforming the output of git-list-objects into binary packfile form.
git-list-objects
MIT