Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

trendgetter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trendgetter

Grabs top starred JavaScript repos from the GitHub search API

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

trendgetter

A tool to fetch a newline delimited list of JSON objects representing the top list of starred JavaScript repositories on GitHub.

Install

npm install -g trendgetter

CLI

$ trendgetter -h
usage: cli.js [-h] [-v] [--pages PAGES] token

Grabs top starred JavaScript repos from the GitHub search API and writes them
to STDOUT

Positional arguments:
  token          A valid GitHub token.

Optional arguments:
  -h, --help     Show this help message and exit.
  -v, --version  Show program's version number and exit.
  --pages PAGES  The number of pages to fetch, set to -1 for all. Defaults to
                 2

Grab some trendy repos!

$ trendgetter 1234567890123456789012345678901234567890
{"id":28457823,"name":"freeCodeCamp","full_name":"freeCodeCamp/freeCodeCamp","owner" ...

Try format to CSV with csv-write-stream:

$ npm i -g csv-write-stream
$ trendgetter 1234567890123456789012345678901234567890 | csv-write > results.csv

License

MIT

Keywords

FAQs

Package last updated on 13 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc