Node Github Trending
Get today Github trending open-source repository.
How to use
- Install by run
npm install --save node-github-trending
- Instantiate the package
const Client = Client;// or you can destructure itconst Client = ; const client = ;
- Get the trending repository
// Get trending repository for all languageconst fetch = client; // or you can specify the languageconst fetch = client; fetch ; // Response// [// {// title: 'kadira-open / kadira-server',// url: 'https://github.com//kadira-open/kadira-server',// summary: 'Source code to Kadira APM',// metadata: {// programmingLanguage: 'JavaScript',// stars: '46',// forks: '12'// }// }// ...// ]