See [github-base][] for documentation for all options and authentication choices.
var tree = require('{%= name %}');
var opts = {
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD'
};
tree('breakdance/breakdance', opts)
.then(function(res) {
console.log(res);
})
var tree = require('{%= name %}');
var opts = {
recursive: true,
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD'
};
tree('breakdance/breakdance', opts)
.then(function(res) {
console.log(res);
})