Skip to content
Download and extract a GitHub repository from node.
JavaScript
Find file
Latest commit 3189826 May 16, 2014 @ianstormtaylor 0.1.3
* fix url structure
Failed to load latest commit information.
test change to `user/repo#branch` syntax Feb 11, 2014
.gitignore first commit Jan 26, 2014
History.md 0.1.3 May 16, 2014
Makefile first commit Jan 27, 2014
Readme.md 0.1.0 Feb 11, 2014
index.js Fix path to github archives. May 16, 2014
package.json 0.1.3 May 16, 2014

Readme.md

download-github-repo

Download and extract a GitHub repository from node.

Installation

$ npm install download-github-repo

API

download(repo, destination, callback)

Download GitHub repo (eg. ianstormtaylor/router) to a destination folder and callback. Defaults to the master branch, but you can specify a branch or tag as a URL fragment like ianstormtaylor/router#my-branch.

License

MIT

Something went wrong with that request. Please try again.