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

@4meta5/scout

v0.2.0

Published

One-shot OSS comparison CLI that finds actively maintained repos implementing similar components/patterns

Readme

scout

Find actively maintained OSS implementing patterns similar to your project.

npm License: MIT

npx @4meta5/scout scan && npx @4meta5/scout discover

What It Does

Scout analyzes your codebase and finds comparable open source projects. It:

  • Scans your project to identify what you're building (CLI, MCP server, plugin, etc.)
  • Discovers GitHub repos with similar patterns and active maintenance
  • Validates structural matches and modern development practices
  • Generates focused context bundles for code exploration

Quick Start

  1. Set your GitHub token:
export GITHUB_TOKEN=ghp_your_token_here
  1. Run the pipeline in your project:
# Fingerprint your project
scout scan

# Find similar repos
scout discover

# Clone top candidates
scout clone

# Validate and score
scout validate

# Generate context bundles
scout focus

# Create comparison report
scout compare
  1. Open .scout/REPORT.md for results.

Installation

npm install -g @4meta5/scout

Or use directly with npx:

npx @4meta5/scout scan

Commands

| Command | Description | Output | |---------|-------------|--------| | scan | Fingerprint local project | fingerprint.json, targets.json | | discover | Search GitHub for similar repos | candidates.tier1.json | | clone | Shallow clone top candidates | clone-manifest.json | | validate | Check structural matches | validate-summary.json | | focus | Generate context bundles | FOCUS.md per repo | | compare | Create comparison report | REPORT.md, report.json |

Compact Digest Mode

For LLM-friendly output, use the --digest flag:

scout compare --digest

This generates a 1-2 page summary in .scout/DIGEST.md plus digest.json, suitable for Engram ingestion or Claude context windows.

Digest output structure:

  • Top recommendation with score, license, and entry point
  • Compact alternatives table (top 5)
  • Pipeline summary (discovered → cloned → validated)

V1 Core Pipeline

Scout V1 provides a stable, one-shot OSS comparison pipeline:

| Command | Status | Description | |---------|--------|-------------| | scan | Stable | Fingerprint local project | | discover | Stable | Search GitHub for similar repos | | clone | Stable | Shallow clone top candidates | | validate | Stable | Check structural matches | | focus | Stable | Generate context bundles | | compare | Stable | Create comparison report |

These 6 commands are the V1 guarantee. They are stable, tested, and suitable for production use.


Experimental Features

Warning: Not part of core guarantees. May change without notice.

Watch / Review

Track validated repos over time and generate differential review sessions.

npm install @4meta5/scout-watch

Once installed, these commands become available:

  • scout watch add - Add repo to tracking
  • scout watch list - List tracked repos
  • scout watch remove - Remove from tracking
  • scout watch run-once - Process updates
  • scout review run - Launch differential review

See @4meta5/scout-watch for full documentation.

How Scoring Works

Scout uses a two-tier scoring system.

Tier 1 (Discovery) scores based on:

  • Recency: How recently the repo was updated
  • Activity: Stars and forks as popularity signal
  • Lane hits: How many search patterns matched

Tier 2 (Validation) adds:

  • Structural match: Does it implement the same patterns?
  • Modernity: ESM, TypeScript strict, modern tooling

Configuration

Scout uses XDG-compliant paths. Global config lives at ~/.config/scout/config.json.

Project config in .scoutrc.json overrides global settings:

{
  "github": {
    "token": "ghp_..."
  },
  "discovery": {
    "recencyWindowDays": 90,
    "maxCandidatesTier1": 50,
    "cloneBudget": 5
  }
}

Environment variable GITHUB_TOKEN takes precedence over config files.

Detection Targets

Scout identifies these component patterns:

| Kind | Signals | |------|---------| | mcp-server | @modelcontextprotocol deps, MCP config files | | cli | bin field, commander/yargs/stricli deps | | skill | SKILL.md, skills/ directory | | hook | hooks/ directory, git hook patterns | | plugin | plugins/ directory, plugin manifests | | library | Fallback for npm packages |

Output Structure

All outputs go to .scout/ by default:

.scout/
  fingerprint.json      # Project analysis
  targets.json          # Detected component types
  candidates.tier1.json # Discovery results
  clone-manifest.json   # Cloned repos
  validate-summary.json # Validation scores
  focus/
    owner-repo/
      FOCUS.md          # Context bundle
      RUN_HINTS.md      # Build/test commands
      PROVENANCE.md     # Source tracking
  REPORT.md             # Final comparison
  report.json           # Machine-readable report

Development

This is a pnpm workspace. Core package is at root, optional packages under packages/.

pnpm install          # Install all dependencies
pnpm build            # Build core only
pnpm build:all        # Build all packages
pnpm test             # Test core only
pnpm test:all         # Test all packages
pnpm typecheck:all    # Type check all packages

Requirements

  • Node.js 20+
  • GitHub token with public_repo scope

License

MIT