githubinator
v0.0.2
Published
Fetching Data from https://github.com
Downloads
6
Readme
Install
$ npm i githubinator
Setup
const git = require('githubinator');
Example
(async function() {
let user = await git.get('AngeloCore');
console.log(user.name); //Angelo II
let repo = await git.getRepo('AngeloCore', 'src-bot');
console.log(repo.description); //The Test bot for SRC
})()
Endpoints
|Value|Param| |-|-| |get|Username/Org Name| |getRepo|Username, Repo| |getRepoForks|Username, Repo| |getUserFollowers|Username| |getFollowing|Username| |getUserRepos|Username| |getGist|Github Gist ID|
Changelog
- Added getGist method