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

gh-batch

v1.1.1

Published

Batch operations for GitHub repositories using the gh CLI

Readme

gh-batch

npm version npm downloads Release License: MIT Node.js >=18

Batch operations for GitHub repositories using the gh CLI.

Requirements

Installation

npm install -g gh-batch

Or clone and link locally:

git clone https://github.com/ElJijjuna/gh-batch.git
cd gh-batch
npm link

Commands

clone repos <owner>

Clones all repositories from a GitHub user or organization, one folder per repository.

gh-batch clone repos <owner> [-y] [-p <path>]

Arguments

| Argument | Description | |---|---| | <owner> | GitHub username or organization name |

Options

| Option | Description | |---|---| | -y, --yes | Skip the confirmation prompt and clone immediately | | -p, --path <path> | Destination directory (default: current directory) |

Examples

Prompt before cloning:

gh-batch clone repos ElJijuna
Repositories for ElJijuna:
  1. repo-one
  2. repo-two
  3. repo-three

Do you want to clone 3 repositories? (yes/no): yes

Cloning 3 repositories into /home/user/projects...
  repo-one... done
  repo-two... done
  repo-three... done

Done: 3 cloned, 0 failed.

Skip the prompt and clone into a specific directory:

gh-batch clone repos ElJijuna -y -p ~/projects

refresh repos <owner>

Runs git fetch --all --prune on all locally cloned repositories from a GitHub owner. Detects repos by checking their origin remote URL.

gh-batch refresh repos <owner> [-p <path>]

Arguments

| Argument | Description | |---|---| | <owner> | GitHub username or organization name |

Options

| Option | Description | |---|---| | -p, --path <path> | Directory to search for cloned repos (default: current directory) |

Examples

gh-batch refresh repos ElJijuna
Fetching 3 repositories from ElJijuna...
  repo-one... done
  repo-two... done
  repo-three... done

Done: 3 fetched, 0 failed.
gh-batch refresh repos ElJijuna -p ~/projects

Contributing

Commits must follow the Conventional Commits spec. Releases and the CHANGELOG are generated automatically on every push to main.

| Prefix | Triggers | |---|---| | feat: | minor version bump | | fix: | patch version bump | | BREAKING CHANGE: (in footer) | major version bump | | chore:, docs:, refactor: | no release |

License

MIT