/download-github-repo

Download and extract a GitHub repository from node.

Primary LanguageJavaScript

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