download-github-repo
Version:
Download and extract a GitHub repository from node.
18 lines (9 loc) • 430 B
Markdown
# 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