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

@c0nant/claude-hooks

v0.2.5

Published

Portable, removable Claude Code hooks — caveman auto-start and git guardrails, managed via npx.

Readme

claude-hooks

Claude Code hooks companion to C0nanT/skills. Wires the caveman and git-guardrails skills into settings.json automatically — no hand-editing.

Prerequisites

Install C0nanT/skills first. The hooks reference skill assets at runtime (~/.claude/skills/caveman/, ~/.claude/skills/git-guardrails-claude-code/) — without the skills installed, the hooks no-op.

npx skills@latest add C0nanT/skills

Requires jq. On Ubuntu/WSL: sudo apt-get install -y jq

Install

npx @c0nant/claude-hooks install

Bundled hooks

| Hook | Event | What it does | |------|-------|-------------| | caveman | SessionStart | Injects the caveman ruleset as hidden context — agent starts in token-saving mode every session without typing /caveman | | git-guardrails | PreToolUse/Bash | Blocks destructive git commands (push, reset --hard, clean -f, branch -D, checkout ., restore .) before execution |

Both hooks no-op gracefully if the skill is absent.

Commands

npx @c0nant/claude-hooks install              # install all hooks
npx @c0nant/claude-hooks install git-guardrails  # one hook only
npx @c0nant/claude-hooks uninstall            # remove all
npx @c0nant/claude-hooks uninstall caveman    # remove one
npx @c0nant/claude-hooks list                 # show installed

Installs are idempotent — re-running syncs without duplicating. Uninstall is surgical — only touches what this tool added.

Project-scoped install

CLAUDE_SETTINGS=.claude/settings.json npx @c0nant/claude-hooks install

Development

Setup

git config core.hooksPath .githooks   # pre-push runs tests
bash test/run.sh                      # requires jq

No npm install — zero runtime dependencies beyond Node ≥18 and jq.

Day-to-day workflow

| Where you push | What happens | |----------------|--------------| | Branch or PR | CI runs test/run.sh only — no version bump, no npm publish | | main | CI runs tests → bumps patch → publishes to npm |

Work on a branch, open a PR (or push directly if solo), merge to main when green.

Releasing

Patch (bugfix, small improvement) — just merge/push to main. CI handles everything:

push to main → tests → 0.1.11 → 0.1.12 → npm publish

Do not bump package.json manually for patch releases.

Minor or major (new feature, breaking change) — bump locally first, then CI publishes on push:

./release.sh minor   # or major — working tree must be clean

The script bumps package.json, commits, tags vX.Y.Z, and pushes main + tags. Requires NPM_TOKEN in GitHub Actions secrets.