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

noclaude

v1.0.1

Published

Remove 'Generated with Claude Code' from git history and set custom author

Readme

NoClaude

A CLI tool to remove Claude Code attribution from git history and set a custom author. In the ironic tradition of using code to erase traces of code generators, NoClaude rewrites your Git history to strip Claude Code attributions and replace them with your own author details.

Built with TypeScript and Bun.

Features

  • Remove Claude Code attribution from commit messages
  • Rewrite commit author and committer information
  • Flexible configuration via CLI args, environment variables, .env file, or git config
  • Dry-run mode to preview changes before execution
  • Auto-push option to automatically push after cleaning
  • Interactive confirmation before making changes

Requirements

  • Bun - Runtime (≥1.0.0)
  • Git - Version control system
  • Node.js and npm - For installation

Installation

npm install -g noclaude

Usage

Navigate to your repository and run:

noclaude --name "Your Name" --email "[email protected]"

Options

  • -n, --name <name> - Author name (optional, defaults to env/git config)
  • -e, --email <email> - Author email (optional, defaults to env/git config)
  • -d, --dry-run - Show what would be done without executing
  • -p, --auto-push - Automatically push to remote after cleaning
  • -h, --help - Show help message

Configuration Priority

The tool looks for author information in this order:

  1. Command-line arguments (--name, --email)
  2. Environment variables (GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL)
  3. .env file in current directory
  4. Git config (user.name, user.email)

Examples

# Using CLI arguments
noclaude --name "rickhallett" --email "[email protected]"

# Using environment variables
GIT_AUTHOR_NAME="rickhallett" GIT_AUTHOR_EMAIL="[email protected]" noclaude

# Dry-run mode
noclaude --dry-run

# Auto-push after cleaning
noclaude --auto-push

Warning

History rewrites are destructive and irreversible. This is the developer equivalent of deleting production data without backups. Always create a backup before running. Force-pushing will rewrite remote history and can affect collaborators. Use with caution.

How It Works

Uses git filter-branch with two filters:

  • env-filter - Sets GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_NAME, and GIT_COMMITTER_EMAIL
  • msg-filter - Uses sed to remove Claude Code attribution lines from commit messages

The tool executes these filters across all commits in your repository history.

Development

Build

bun run build

Bundles src/noclaude.ts to dist/noclaude.js as an ESM executable.

Architecture

Single-file CLI in src/noclaude.ts:

  1. Argument parsing - Handles CLI flags and help text
  2. Configuration resolution - Checks CLI args, env vars, .env file, then git config
  3. Interactive prompt - Confirms before execution
  4. Git execution - Runs git filter-branch with execSync
  5. Auto-push - Optionally pushes to remote after completion

Testing Locally

bun link
noclaude --dry-run

Test on a disposable repository first.

Publishing

The prepublishOnly script automatically builds before publishing. Only the dist folder is included in the npm package.

Contributing

Fork, hack, PR. Ensure it builds and passes any tests.

License

MIT License. Free as in beer, but with the hangover of potential repo destruction.