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

reponanny

v1.0.0

Published

RepoNanny is a CLI tool that scolds your repo when it misbehaves—stale branches, messy files, forgotten docs, you name it. Think of it as a stern British nanny for your codebase, minus the umbrella and singing.

Readme

RepoNanny

RepoNanny is a CLI tool that scolds your repo when it misbehaves—stale branches, messy files, forgotten docs, you name it. Think of it as a stern British nanny for your codebase, minus the umbrella and singing.

Installation

npm install -g reponanny

Or install locally in your project:

npm install --save-dev reponanny

Quick Start

Initialize RepoNanny in your project:

reponanny --init

This creates a .reponanny.json config file and NANNY_RULES.md documentation.

Usage

Run all enabled checks:

reponanny

Run checks and automatically fix issues:

reponanny --fix

Display help:

reponanny --help

Configuration

RepoNanny uses a .reponanny.json file in your project root. You can enable or disable rules and configure exceptions for each.

{
  "rules": {
    "staleBranches": true,
    "messyFiles": true,
    "forgottenDocs": true,
    "largeFiles": true,
    "todoComments": true
  },
  "exceptions": {
    "staleBranches": {
      "ignore": ["main", "develop"]
    },
    "largeFiles": {
      "maxSizeKB": 500,
      "ignore": ["package-lock.json"]
    }
  }
}

Available Rules

staleBranches

Identifies branches that have not been updated in over 30 days and may need attention or cleanup.

messyFiles

Detects untracked files, temporary files, and other clutter that should be cleaned up or added to .gitignore.

forgottenDocs

Checks for missing or outdated documentation files like README, CHANGELOG, or LICENSE.

largeFiles

Finds files that exceed the configured size limit and may bloat your repository.

todoComments

Scans for TODO, FIXME, and HACK comments that have been left unresolved in the codebase.

CI/CD Integration

RepoNanny returns proper exit codes for pipeline integration:

  • Exit code 0: All checks passed
  • Exit code 1: One or more checks failed

Example GitHub Actions usage:

- name: Run RepoNanny
  run: npx reponanny

License

ISC