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

batman-commands

v1.0.3

Published

A beginner friendly Git command helper

Readme

🦇 Batman Git CLI Assistant

Where to run Batman

Run Batman from inside the project folder you are working on, not from a general folder such as Downloads. Use PowerShell or Command Prompt:

cd C:\Projects\my-app
batman doctor

Use batman doctor first if you are unsure whether you are in the correct folder.

A beginner-friendly Git command helper that makes everyday Git workflows safe, simple, and stress-free.


📦 Installation

Open PowerShell or Command Prompt and run:

npm install -g batman-commands

🚀 Quick Start

Navigate to your project folder and run:

batman

To see all available commands:

batman help

🛠️ Commands

batman safe-push "message" — The Safe Sync

Safely commit and push your work to GitHub without overwriting your teammates' changes.

batman safe-push "Created the login screen"

Exclude specific files from the push using --skip:

# Skip a single file
batman safe-push "Updated homepage" --skip "src/config.js"

# Skip multiple files
batman safe-push "Updated homepage" --skip "src/config.js" --skip "package-lock.json"

Skipped files stay as local uncommitted changes while everything else gets committed and pushed.

What it does under the hood:

  1. Scans files for accidentally included passwords or large files
  2. Commits (saves) your work locally
  3. If --skip is used, excludes the specified files from the commit
  4. Pulls the latest code from GitHub using rebase
  5. Pushes the clean, combined work to GitHub

batman conflict — View Conflicts

See the differences when a merge conflict occurs.

batman conflict

batman resolve — Resolve Conflicts

Interactively decide which code to keep when a conflict is detected.

batman resolve

Press 1 to keep your team's code, or 2 to keep your local code.


batman continue — Resume After Resolving

After resolving all conflicts, resume and complete the push.

batman continue

batman doctor — Project Checkup

Check whether the current folder is ready and view a detailed project status report.

batman doctor

batman incoming — View Team Changes

Show files changed by other team members that have not yet been downloaded to your computer.

batman incoming

batman open — Open in VS Code

Open the current project in VS Code.

batman open

batman squash — Clean Up Commits

Merge multiple small local commits into one clean commit before pushing (avoids "Rebase Hell").

batman squash

batman scan — Safety Shield

Manually scan your changes for accidentally included secrets (passwords, API keys) or oversized files.

batman scan

Note: batman safe-push runs this automatically.


batman verify — Health Checker

Run a build and test check before pushing to make sure your code compiles and passes tests.

batman verify

Runs npm run build and npm run test internally.


batman rescue — Emergency Reset

Reset your local repository to match GitHub when your Git history is completely out of sync.

batman rescue

⚠️ Use only when normal push/pull operations are broken. It will backup your work first.


batman sub-sync — Submodule Linker

Re-sync Git submodules when they appear empty, outdated, or missing.

batman sub-sync

🔄 Update

npm update -g batman-commands

❌ Uninstall

npm uninstall -g batman-commands

📄 License

MIT © Mohamed