Simple api wrapper for the awesome https://github.com/huchenme/github-trending-api.
npm install --save ghtrends
const gh = require("ghtrends");
gh.getLanguages().then(languages => console.log(languages));
gh.getTrendingRepositories({ language: 'javascript', since: 'weekly' }).then(repositories => console.log(repositories));
// Options object
const options = { language: 'ruby', since: 'weekly' };
gh.getTrendingDevelopers(options).then(developers=> console.log(developers));
// Options object is optional
gh.getTrendingDevelopers().then(developers=> console.log(developers));