git-download-archive
Get a tar/zip archive stream from a git repository (at a certain commit).
Usage
// returns a stream
Options param defaults to:
rev : 'HEAD' format : 'tar' // zip prefix : 'repo/'
Example:
var streamGitArchive = ;var path = ;var repoPath = path;var fs = ;var os = ;var outPath = os + '/repo.tar';var out = fs; ;
Tests
npm test
License
MIT