2.0.7 • Published 4 years ago

trending-github v2.0.7

Weekly downloads
31
License
MIT
Repository
github
Last release
4 years ago

trending-github

Simple API for getting trending repositories on Github

Travis npm version npm downloads npm license eslint

Installation

npm install trending-github --save

Usage

const trending = require('trending-github');

trending()
  .then(repos => console.log(repos));

//=> [{
//=>   author: 'asciimoo',
//=>   name: 'wuzz',
//=>   href: 'https://github.com/asciimoo/wuzz',
//=>   description: 'Interactive cli tool for HTTP inspection',
//=>   language: 'Go',
//=>   stars: 966,
//=>   forks: 20,
//=>   starsInPeriod: 153
//=> }, ... ]
const trending = require('trending-github');

trending('weekly', 'javascript')
  .then(repos => console.log(repos));

//=> [{
//=>   author: 'freeCodeCamp',
//=>   name: 'freeCodeCamp',
//=>   href: 'https://github.com/freeCodeCamp/freeCodeCamp',
//=>   description: 'The https://freeCodeCamp.com open source codebase and curriculum. Learn to code and help nonprofits.',
//=>   language: 'JavaScript',
//=>   stars: 229260,
//=>   forks: 9289
//=>   starsInPeriod: 42
//=> }, ... ]

License

MIT © Daniel Eckermann

2.0.7

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.0

5 years ago

1.1.16

5 years ago

1.1.14

5 years ago

1.1.12

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.0

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago