New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ghtrends

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghtrends

A simple Github Trends api wrapper

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

wrapper

FAQs

Package last updated on 29 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts