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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@jithyan/git-branch-manager

v3.0.3

Published

Simple CLI to avoid typing out full git branch names for switching or deleting branches.

Downloads

13

Readme

git-branch-manager

Simple CLI to conveniently switch, remove and checkout remote branches without having to type out full branch names. It also has a few other shorthand commands that I find helpful.

As of v3, it is written in Rust.

Get started

This will only will work with Node 16 and above

npm install -g @jithyan/git-branch-manager

Now you can run it by calling gbm.

How to use

  1. cd into a git repo.
  2. Run gbm <command>

Available commands

switch (sw)

Allows you to select a local branch to switch to. Equivalent to running git checkout <selected_branch_name>.

Example:

gbm switch

switch example

remove (rm)

Allows you to select a branch that is checked out locally to remove. Equivalent to running git branch -D <selected_branch_name>.

Example:

gbm remove

remove example

add

Allows you to filter branches from remote and select a branch to checkout locally. Equivalent to running git fetch && git checkout <selected_branch_name>.

Example:

gbm add

add example

rb <branch_name>

Equivalent to running git fetch && git pull origin <branch_name> -r

Example:

gbm rb main

stash example

pff

Equivalent to running git fetch && git pull --ff-only

Example:

gbm pff

stash example

ct <branch_name>

Transfer all changes in the current branch (tracked and untracked) to a new branch and commit it with the message "initial commit".

Equivalent to running:

git add .
git stash
git checkout -b <branch_name>
git stash pop
git add .
git commit -m "initial commit"

Example:

gbm ct fix-bug

stash example