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

@yeaight/repo-health

v0.1.1

Published

Audit local repositories for open-source readiness and actionable health recommendations.

Readme

repo-health-cli

Audit local repositories for open-source readiness and get a deterministic health score with actionable recommendations.

repo-health-cli is a Lighthouse-style CLI for GitHub repositories. It checks README quality, licensing, CI, tests, package metadata, community files, docs, release readiness, and agent-readiness in one local command.

Demo

The CLI prints a compact terminal report by default and can emit JSON for automation. See the basic example for common commands.

Install

This project is not published to npm by this repository yet. The unscoped repo-health-cli npm name is already present on npm, so publishing requires either package ownership or a rename/scoped package decision first.

Use it locally from a cloned checkout:

npm install
npm run build
node dist/cli.js audit .

For development without building first:

npm run dev -- audit .

Usage

Audit the current repository:

repo-health audit .

Audit another local repository:

repo-health audit /path/to/repo

Print valid JSON only:

repo-health audit . --json

Disable terminal colors:

repo-health audit . --no-color

Fail CI-style when the score is below 80:

repo-health audit . --strict

Use a custom strict threshold:

repo-health audit . --strict --threshold 90

When running from source, replace repo-health with node dist/cli.js after npm run build, or use npm run dev --.

Documentation

Sample Output

Repo Health Score: 78/100 - C

Critical
- Add a LICENSE file.
- Add a test workflow under .github/workflows/.

Recommended
- Add CONTRIBUTING.md.
- Add SECURITY.md.
- Add usage examples to README.md.

Category breakdown
README quality        14/20
Licensing              4/10
CI / automation         8/15
Tests                  10/15
Package metadata        8/10
Community files         2/10
Documentation           5/8
Release readiness       4/7
Agent readiness         3/5

Scoring Categories

Scores are deterministic and weighted to total 100:

| Category | Weight | | --- | ---: | | README quality | 20 | | Licensing | 10 | | CI / automation | 15 | | Tests | 15 | | Package metadata | 10 | | Community files | 10 | | Documentation | 8 | | Release readiness | 7 | | Agent readiness | 5 |

Each check is scored as pass, warning, or fail. Category scores are rounded and the final score maps to grades:

| Grade | Score | | --- | ---: | | A | 90-100 | | B | 80-89 | | C | 70-79 | | D | 60-69 | | F | below 60 |

Local Development

npm install
npm test
npm run test:pack
npm run build
npm run typecheck
npm run dev -- audit .

Roadmap

  • Add richer rule explanations and remediation links.
  • Add optional GitHub API mode after local auditing is complete.
  • Add more ecosystem-specific metadata checks for Python, Rust, Go, and Java.
  • Add SARIF or GitHub Actions annotation output.

Non-goals

  • No npm publishing in the MVP.
  • No paid APIs.
  • No LLM calls.
  • No web UI.
  • No destructive auto-fixes.
  • No large plugin/rule-engine architecture before the core CLI is useful.

License

Apache-2.0. See LICENSE.