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

@gitconductor/cli

v0.1.5

Published

CLI for gitconductor — intercept git commands, enforce safety rules, and recover from mistakes

Readme

@gitconductor/cli

Prevent git mistakes before they happen — rules, education, and recovery guidance.

gitconductor intercepts your git commands and enforces safety rules — blocking force-pushes to protected branches, detecting committed secrets, warning about direct commits to main, and more. Works entirely offline; AI is optional.

Install

npm install -g @gitconductor/cli

Then set up the shell alias (intercepts all git commands):

gitconductor install --global
source ~/.zshrc   # or ~/.bashrc for bash, or open a new terminal

Or set up for a single repo only (no shell alias):

gitconductor install

Requirements

  • Node.js ≥ 18
  • bash, zsh, or fish shell (macOS, Linux, or Windows via Git Bash / WSL)

Commands

| Command | Description | |---|---| | gitconductor install [--global] | Set up for this repo, or globally with the shell alias | | gitconductor status | Show active config and all rules | | gitconductor check | Proactive workspace health scan | | gitconductor rescue [scenario] | Step-by-step recovery from common git mistakes | | gitconductor explain <rule> | Deep docs for a rule: why it exists, how to recover | | gitconductor log [--limit N] | Recent interception history | | gitconductor ask "<question>" | AI-powered git Q&A (requires AI provider) | | gitconductor config set <key> <value> | Change a config value | | gitconductor config show | Print merged config as YAML | | gitconductor uninstall [--global] | Remove gitconductor |

13 Built-in Rules

| Rule | Default | Severity | |---|---|---| | forcePushProtectedBranch | on | block | | secretDetection | on | block | | wipCommit | on | block | | directCommitToProtectedBranch | on | warn | | hardResetWithChanges | on | warn | | largePush | on | warn | | rebaseSharedBranch | on | warn | | deleteBranchWithOpenPR | on | warn | | mergeIntoProtectedBranch | on | warn | | tagDeletion | on | warn | | stashDrop | on | warn | | amendPublishedCommit | on | warn | | commitMessageFormat | off | warn |

Configuration

gitconductor merges config from three sources (in order):

  1. Built-in defaults
  2. ~/.gitconductor/config.yml (global)
  3. .gitconductor.yml in the repo root

Example .gitconductor.yml:

protectedBranches:
  - main
  - master
  - release/*

rules:
  commitMessageFormat:
    enabled: true
    severity: warn

ai:
  provider: anthropic
  model: claude-opus-4-6

Set config from the CLI:

gitconductor config set rules.commitMessageFormat.enabled true
gitconductor config set ai.provider anthropic --global
gitconductor config unset ai.apiKey --global

AI Providers (optional)

gitconductor works fully without AI. Configure one for richer analysis:

# Anthropic
gitconductor config set ai.provider anthropic --global
export GITCONDUCTOR_AI_KEY=sk-ant-...

# OpenAI
gitconductor config set ai.provider openai --global
export GITCONDUCTOR_AI_KEY=sk-...

# Ollama (local, no API key needed)
gitconductor config set ai.provider ollama --global
gitconductor config set ai.model llama3 --global

Disable Temporarily

gitconductor config set enabled false
# ... do your thing ...
gitconductor config set enabled true

Links

License

MIT