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

@sidx1scr-apps/gittooljs

v1.0.0

Published

Making Git simple.

Downloads

16

Readme

gittooljs

Making Git simple.

gittooljs is a lightweight, zero-dependency Node.js CLI tool that beautifully simplifies your Git workflow. It is a JavaScript port of the original Go-based gittool.

Enjoy a gorgeous, true-color UI, automated GitHub integration, and streamlined commands that save you time!

Looking for the Go version? If you prefer the original, compiled Go version of gittool, you can install it via Homebrew:

brew tap sidx1-scratch/tap
brew trust sidx1-scratch/tap
brew install sidx1-scratch/gittool

Installation

Install globally via npm:

npm install -g @sidx1scr-apps/gittooljs

Usage

Run the tool by simply typing gittool in your terminal.

gittool <command>

Available Commands

  • gittool init Initialize a brand new local repository and switch to a main branch automatically.

  • gittool repo add <url> Link a remote GitHub/GitLab repo. It automatically configures SSH connections (converting HTTPS URLs seamlessly).

  • gittool repo new [name] Create a new private GitHub repository, link it, and push your code instantly. (Requires the gh CLI)

  • gittool status Get a beautiful, color-coded overview of your file changes, branch name, and sync status with the remote repository.

  • gittool branches Display a visually pleasing list of all local and remote branches, highlighting the one you are currently on.

  • gittool save [-m] Automatically stage all changes, generate a formatted commit message (with timestamp and changed files), and push to main. Use the -m flag to open your $EDITOR and write a custom message on top of the auto-generated one.

  • gittool sync Perform a safe git pull --rebase followed by a git push to keep everything perfectly in sync.

  • gittool log View a beautifully formatted, compact commit log with relative timestamps and authors.

  • gittool pr Instantly create a Pull Request for your current branch with a single command. (Requires the gh CLI)

  • gittool oops Forgot a file? Just git add it and run this command to seamlessly amend your last commit without needing to edit the message.

  • gittool undo A safe soft-reset that undoes your last commit but keeps all your file changes staged and ready to be re-committed.

Features

  • Zero dependencies! Everything is built using standard Node.js libraries.
  • Beautiful UI: Custom true-color output, animated spinners, and clean ASCII boxes.
  • Automatic SSH Configuration: Prompts and auto-translates URLs to keep your auth simple.
  • GitHub CLI Integration: Optional commands like repo new and pr leverage the official gh CLI for powerful automation.