andrew sosa

eeyore

Why?

I wanted to automagically pull my Github pinned repos so they could go on my website. That worked until I had more than 6 things I wanted to have on my site.

Installation

# npm
npm i eeyore

# yarn
yarn add eeyore

Usage

const eeyore = require('eeyore');

eeyore('<github_username>').then(repos => {
    // repos = [ ... ]
});

Example
eeyore('andrewsosa').then(console.log)

/*
 [ { repo: 'Contest-Server',
    owner: 'FSU-ACM',
    description: 'Flask suite for running Fall/Spring Programming Contests',
    language: 'Python',
    color: '#3572A5',
    stars: '1',
    forks: '1',
    origin: undefined },
  { repo: 'hackfsu_com',

    ...

    origin: undefined } ]
    */