download-github-repo

Download and extract a GitHub repository from node.

MIT 6 个版本
安装
npm install download-github-repo
yarn add download-github-repo
pnpm add download-github-repo
bun add download-github-repo
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

版本列表
0.1.4 2018-01-07
0.1.3 2014-05-16
0.1.2 2014-04-02
0.1.1 2014-03-31
0.1.0 2014-02-11
0.0.1 2014-01-27