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

@opablodev/git

v1.0.8

Published

Interactive Git CLI extension for branch management, repository setup, and Pull Requests.

Downloads

28

Readme

Git Workflow

Interactive Git CLI extension for branch management, repository setup, and Pull Requests.

Features

  • list – List all branches and select one to checkout.
  • new – Create a new branch and switch to it.
  • up – Initialize a Git repository, optionally create or connect to a remote, add all files, commit, and push.
  • pr – Create a Pull Request from the current branch to a selected base branch on GitHub (requires gh CLI).

Installation

Global (recommended)

Install the CLI globally so you can use it anywhere:

npm install -g @opablodev/git

Temporary via npx

You can also run it without installing globally:

npx @git

Usage

Once installed globally or via npx, use the CLI commands like this:

  • @git list – List all branches and select one to checkout
  • @git new – Create a new branch and switch to it
  • @git up – Initialize repository, add files, commit, and push
  • @git pr – Create a Pull Request from current branch to a selected base branch
  • @git – Opens interactive menu if no subcommand is provided

up Command Details

The up command will:

  1. Initialize a Git repository if none exists (git init).
  2. Create a .gitignore file if it doesn’t exist (Node.js default).
  3. Check if a remote repository exists:
    • If yes, user provides the remote URL.
    • If no, optionally create a GitHub repository (requires GitHub CLI gh) and link as remote.
  4. Add all files (git add .).
  5. Prompt for a commit type (feat, fix, docs, etc.) and a commit message, unless it's the initial commit.
  6. Commit and push to main (or fallback to master).

pr Command Details

The pr command will:

  1. Detect the current branch as the source (head) branch.
  2. List all other branches to select as the target (base) branch.
  3. Prompt for a Pull Request title and description.
  4. Ensure the branch is pushed to the remote (if not, push automatically).
  5. Create a Pull Request on GitHub using the GitHub CLI (gh pr create).

Requirements

  • Node.js 14+
  • Git
  • GitHub CLI gh (required for creating remote repositories and Pull Requests)

License

MIT License