Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 430 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 430 Bytes

github-download-directory

Download the contents of a given directory from a repository on GitHub.

Only works in node 8+ (because async/await is too cool).

Usage

Best used from the command line:

> github-download-directory gulpjs/gulp docs

Or programatic:

var download = require('github-download-directory');

download('gulpjs', 'gulp', 'docs').then(console.log, console.error);

License

MIT