quick docs
Installation
you must install github-touch first via npm package and call github-touch - read this
npm i github-touch
const GithubTouch = require("github-touch")
Documentations
.searchTopic()
search any topic in github
Query
parameters:
JSON
return: .searchTopic('github')
.getUser()
get a github user information
Username
parameters:
Object
return: .getUser('Vins2106')
.getUserRepos()
get a user repositories
Username
, ?RepoName
parameters:
JSON
, ?Object
return: .getUserRepos('Vins2106')
.getUserGists()
get a user gists
Username
, ?GistId
parameters:
JSON
, ?Object
return: .getUserGists('Vins2106')
.getOrg()
get a github organization
OrganizationName
parameters:
Object
return: .getOrg(bellshade')
.getOrgRepos()
get a github organization repositories
OrganizationName
, ?RepoName
parameters:
JSON
, Object
return: .getOrgRepos('bellshade')
.getOrgTeams() (disabled)
get a github organization teams
OrganizationName
parameters:
JSON
return: .getOrgTeams('bellshade')