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

gguser

v1.2.0

Published

A simple CLI utility tool to switch Git user accounts easily.

Downloads

26

Readme

gguser

gguser is a CLI tool to easily switch between different Git user profiles. It simplifies managing multiple GitHub or GitLab accounts by allowing users to switch between profiles effortlessly.

🚀 Installation

Install gguser globally using npm:

npm install -g gguser

🎯 Usage

Commands Overview

| Command | Description | | ------------------------------------------------------------- | ------------------------------------------------- | | gguser add <profile_name> "<full_name>" "<email>" [ssh_key] | Adds a new Git profile with an optional SSH key | | gguser select | Opens an interactive menu to switch profiles | | gguser <profile_name> | Switches directly to a specified Git profile | | gguser now | Displays the currently configured Git user | | gguser list | Lists all available Git profiles | | gguser remove <profile_name> | Removes a specified Git profile | | gguser link <profile_name> | Links a Git profile to a specific directory | | gguser unlink | Removes a profile link from the current directory |

1️⃣ Add a new Git profile

gguser add <profile_name> "<full_name>" "<email>" [ssh_key]

Note: ssh_key is optional

Example:

gguser add work "Shubhendra Chauhan" "work@company" ~/.ssh/id_ed25520
gguser add personal "Shubhendra Singh Chauhan" "[email protected]" ~/.ssh/id_ed25520

2️⃣ Switch to a Git profile

gguser select

Or switch directly:

gguser <profile_name>

3️⃣ Show the current Git user

gguser now

4️⃣ List all profiles

gguser list

5️⃣ Remove a profile

gguser remove <profile_name>

6️⃣ Link a profile to a directory

gguser link <profile_name>

This ensures that whenever you're inside that directory, the correct Git user is applied.

7️⃣ Unlink a directory

gguser unlink

📝 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

🎯 Contributing

We welcome contributions from the community! Follow these steps to contribute:

  1. Fork the repository on GitHub.
  2. Create a feature branch (git checkout -b feature-new)
  3. Commit your changes (git commit -m "Added a new feature")
  4. Push to GitHub (git push origin feature-new)
  5. Create a Pull Request 🚀

📬 Support

If you find an issue or want a new feature, create an issue here.