🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github-api-cli

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

github-api-cli

A CLI client for the github v3 REST API

0.1.0
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

github-api-cli

A read-only CLI tool for fetching github resources from Github REST v3 API and writing them stdout as JSON.

To install:

npm install -g github-api-cli

usage

Fetches and merges all pages of code.search while obeying rate limits:

github-api-cli get search code q='filename:package.json org:g-k' per_page=100

Optionally uses a Github PAT provided as the env var GITHUB_TOKEN to authenticate:

GITHUB_TOKEN=mypat github-api-cli get search code q='filename:package.json org:g-k'

Keywords

github

FAQs

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