npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

github-issues-fetcher

v1.0.2

Published

CLI tool to fetch and filter GitHub issues from multiple repositories

Readme

GitHub Issues Fetcher

A CLI tool to fetch and filter GitHub issues from multiple repositories. This tool allows you to:

  • Fetch issues from multiple GitHub organizations or specific repositories
  • Filter issues by labels
  • Sort issues by creation date
  • View repository information
  • Export results to JSON files

Installation

npm install -g github-issues-fetcher

Configuration

  1. Copy the example environment file:
cp .env.example .env
  1. Edit the .env file and add your GitHub token:
GITHUB_TOKEN=your_github_token_here

You can generate a GitHub token by following GitHub's guide on creating a personal access token.

You can also provide the token via the --token option when running commands.

Usage

Fetch Issues

From organizations:

gh-issues issues -o ethereum privacy-scaling-explorations -l "good first issue" "help wanted" -s 2024-01-01

From specific repositories:

gh-issues issues -r ethereum/go-ethereum ethereum/solidity -l "good first issue" -s 2024-01-01

Or both:

gh-issues issues -o ethereum -r privacy-scaling-explorations/semaphore -l "good first issue" -s 2024-01-01

Export to JSON:

gh-issues issues -o ethereum -l "good first issue" -j issues.json

Options:

  • -o, --orgs: List of GitHub organizations to fetch issues from
  • -r, --repos: List of GitHub repositories to fetch issues from (format: owner/repo)
  • -l, --labels: Filter issues by labels
  • -s, --since: Fetch issues since date (YYYY-MM-DD)
  • -t, --token: GitHub API token (defaults to GITHUB_TOKEN env variable)
  • -j, --json: Export results to JSON file

Fetch Repositories

From organizations:

gh-issues repos -o ethereum privacy-scaling-explorations -s 2024-01-01

From specific repositories:

gh-issues repos -r ethereum/go-ethereum ethereum/solidity -s 2024-01-01

Or both:

gh-issues repos -o ethereum -r privacy-scaling-explorations/semaphore -s 2024-01-01

Export to JSON:

gh-issues repos -o ethereum -j repos.json

Options:

  • -o, --orgs: List of GitHub organizations to fetch repositories from
  • -r, --repos: List of specific GitHub repositories to fetch (format: owner/repo)
  • -s, --since: Fetch repositories since date (YYYY-MM-DD)
  • -t, --token: GitHub API token (defaults to GITHUB_TOKEN env variable)
  • -j, --json: Export results to JSON file

JSON Output Format

The exported JSON file includes metadata about the query and the results:

{
  "metadata": {
    "timestamp": "2024-03-14T12:00:00.000Z",
    "query": {
      "orgs": ["ethereum"],
      "repos": ["privacy-scaling-explorations/semaphore"],
      "labels": ["good first issue"],
      "since": "2024-01-01"
    }
  },
  "issues": [
    // Array of issue objects
  ]
}

Development

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Run in development mode:
npm run dev

License

MIT