githubinator

0.0.2 • Public • Published

NPM version NPM downloads

NPM Banner

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

Contact

Youtube, Discord

Readme

Keywords

Package Sidebar

Install

npm i githubinator

Weekly Downloads

0

Version

0.0.2

License

Apache-2.0

Unpacked Size

6.71 kB

Total Files

10

Last publish

Collaborators

  • angelo2007