gh-user
Get list of files form a GitHub repository
Install
$ npm install --save gh-ls
Usage
var ghls = ; ;
API
ghls(repo, [params], callback)
repo
Required
Type: string
GitHub repository.
params
Type: object
Optional parameters:
token
Type:string
.
GitHub personal access token.sha
Typestring
.
Branch to list, defaults tomaster
.
callback(err, list)
list
Type: object
Various file and directory data.
See also
License
MIT © Gabor Csardi