Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

download-github-repo

ianstormtaylor1.8kMIT0.1.4

Download and extract a GitHub repository from node.

download, github, repo, repository, tar, extract, tarball

readme

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

changelog

0.1.3 - May 16, 2014

  • fix url structure

0.1.2 - April 2, 2014

  • remove unnecessary deps

0.1.1 - March 31, 2014

  • switch to download dep

0.1.0 - February 11, 2014

  • add option for branch or tag

0.0.1 - January 26, 2014

:sparkles: