1.0.2 • Published 7 years ago

ghtrends v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Github trends

Simple api wrapper for the awesome https://github.com/huchenme/github-trending-api.

Install

npm install --save ghtrends

Usage

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));

MIT - André Varandas

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago