node-gh-trending

1.0.5 • Public • Published

node-gh-trending

js-standard-style Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i node-gh-trending

Weekly Downloads

0

Version

1.0.5

License

MIT

Last publish

Collaborators

  • bmac0007