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-autotool

v4.0.1

Published

A Git automation CLI tool with PR and merge workflow

Readme

🚀 git-autotool

A smart and interactive Git Automation CLI Tool that removes repetitive Git steps.
Commit, push, switch/create/delete branches, resolve conflicts, and create Pull Requests — all from one simple terminal tool.


⭐ Features

  • ⚡ Add → Commit → Push automatically
  • 🌿 Create, switch, delete branches interactively
  • 🔁 Merge branches with conflict resolution workflow
  • 🧠 Auto-open conflict files in VS Code
  • 🔃 Pull updates safely
  • 🔀 Create Pull Requests using GitHub CLI token (automatic)
  • 🧭 Interactive Git mode with multi-command support
  • 🎛️ Built with Inquirer.js, Chalk, Commander.js
  • 🧩 No manual token typing (auto-detects GitHub CLI login)

📦 Installation

Install globally:

npm install -g git-autotool

Verify install:

auto --help

🛠️ Usage

Start interactive mode:

auto git

Or run individual commands:

auto add
auto branch
auto pr
auto merge

🧭 Interactive Commands

Inside auto git, type:

| Command | Description | |-----------|-----------------------------------------------| | add | Auto add → commit → push | | branch | Branch manager (create, delete, switch, pull) | | pr | Create Pull Request (auto-auth via gh) | | merge | Merge branch with conflict inspector | | exit | Exit interactive mode |


🔐 GitHub Authentication (No Token Required)

git-autotool uses GitHub CLI to authenticate automatically.

If not installed, the tool:

  1. Detects that gh is missing
  2. Offers two options:
    • Open GitHub CLI download page
    • Auto-install via Winget

First-time setup:

gh auth login

After that, PR creation works automatically.


📁 Project Structure

git-autotool/
│
├── bin/
│   └── simple.js                # CLI entry file
│
├── src/
│   ├── commands/
│   │   ├── add.js               # Add → Commit → Push
│   │   ├── branch.js            # Branch manager
│   │   ├── pr.js                # Pull Request generator
│   │   ├── merge.js             # Branch merge & conflict resolver
|   |   ├── git.js               # All the functionality to be done
│
├── package.json
└── README.md

🧪 Example Workflow

1️⃣ Add, Commit & Push

auto add

2️⃣ Create a Pull Request

auto pr
✔ Pull Request Created!
🔗 https://github.com/user/repo/pull/23

3️⃣ Merge Branches

auto merge

Handles:

  • Conflict detection
  • Opens conflict files in VS Code
  • Step-by-step fix → Enter → next file
  • Auto commit after resolve

🐞 Bug Reporting

Submit issues:
👉 https://github.com/eabeljohn453/git-autotool/issues

Include:

  • Steps to reproduce
  • Actual & expected behavior
  • Node version + OS

📜 License

MIT License
© 2025 Eabel John