Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 552 Bytes

.verb.md

File metadata and controls

32 lines (26 loc) · 552 Bytes

Usage

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);
  })

Get a Tree Recursively

var tree = require('{%= name %}');
var opts = {
  recursive: true,
  username: 'YOUR_USERNAME',
  password: 'YOUR_PASSWORD'
};

tree('breakdance/breakdance', opts)
  .then(function(res) {
    console.log(res);
  })