1.0.5 • Published 8 years ago
node-gh-trending v1.0.5
node-gh-trending
Access GitHub trending repositories / developers
Install
$ npm install --save node-gh-trending
API
findRepos([lang], [time], callback)
findDevs([time], callback)
If you would like trending weekly or monthly results, you can provide those as the time option and if a time is not provided, the daily trending repositories will be given.
Usage
const trending = require("node-gh-trending")
trending.findRepos("javascript", "weekly", function (res) {
console.log("Today's top repos: ", res)
})
trending.findDevs("monthly", function (res) {
console.log("This month's top devs: ", res)
})
License
MIT