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

git-simple

v0.1.0

Published

A simplified Git CLI wrapper (TypeScript)

Readme

git-simple

npm version

git-simple is a simple, lightweight, and intuitive command-line interface (CLI) that wraps common Git commands into shorter, easier-to-remember aliases. It's designed to speed up your development workflow by simplifying frequent operations.

Installation

Install git-simple globally using npm to make the g command available system-wide.

npm install -g git-simple

(Note: If your package is scoped, the command would be npm install -g @username/git-simple)

Usage

All commands are invoked using the g alias.

Repository Management

| Command | Description | | :--- | :--- | | g init | Initialize a new Git repository (git init). | | g clone <repo> | Clone a repository into a new directory (git clone). | | g status | Show the working tree status (git status). | | g log | Show a concise commit history (git log --oneline). |

Committing and Pushing

| Command | Description | | :--- | :--- | | g commit <message> | Stage all changes and commit them (git add . then git commit). | | g push | Push the current branch to the remote. | | g push -u | Push and set the upstream tracking branch (git push --set-upstream origin <branch>). | | g pull | Fetch from and integrate with another repository or a local branch (git pull). |

Branch Management

| Command | Description | | :--- | :--- | | g branch | Show the current branch name. | | g branches | List all local and remote branches (git branch --all). | | g new <name> | Create a new branch and switch to it (git checkout -b <name>). | | g switch <name> | Switch to an existing branch (git checkout <name>). | | g delete-branch <name> | Delete a branch (git branch -d <name>). Use --force for a force delete. | | g undo-branch-delete | Restore a recently deleted branch. | | g rebase <branch> | Rebase the current branch onto <branch> with confirmation. |

Stashing

| Command | Description | | :--- | :--- | | g stash [message] | Stash your changes (git stash [save <message>]). | | g stash-pop | Apply the most recent stash (git stash pop). |

Tagging and Releases

| Command | Description | | :--- | :--- | | g tag <name> | Create a new lightweight tag (git tag <name>). | | g push <tag-name> | Push a specific tag to the remote (git push origin <tag-name>). | | g push --tags | Push all local tags to the remote (git push --tags). |

History Manipulation

| Command | Description | | :--- | :--- | | g to <commit> | Checkout a specific commit by its hash (with confirmation). | | g revert | Revert to the previous commit (git reset --hard HEAD~1) with confirmation. | | g redo | Undo the last revert (git reset --hard HEAD@{1}). |

License

This project is licensed under the MIT License.