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

shipscanner

v0.1.1

Published

The credit score for AI-generated code. Scan any GitHub repo from your terminal.

Readme

ShipScanner CLI

The credit score for AI-generated code. Scan any GitHub repo from your terminal in seconds.

Score range: 300-850 (like a credit score). Grades: A+ through F.

7 scanners. One score. Works with AI coding agents.

Quick Start

# Scan any GitHub repo
npx shipscanner scan https://github.com/owner/repo

# Shorthand works too
npx shipscanner scan owner/repo

Install

npm i -g shipscanner

Commands

Scan a repository

# Basic scan
shipscanner scan owner/repo

# Specify branch
shipscanner scan owner/repo --branch develop

# JSON output (for AI agents, CI pipelines)
shipscanner scan owner/repo --json

# Fail if score is below threshold (CI quality gate)
shipscanner scan owner/repo --threshold 700

Authentication

Free tier: 5 scans/hour. Authenticate for higher limits and private repo access.

# Set your API key (get one at shipscanner.dev/settings)
shipscanner login --key sk_your_api_key

# Check auth status
shipscanner whoami

# Remove stored key
shipscanner logout

Other commands

# Check status of a running scan
shipscanner status <scan-id>

# View/update config
shipscanner config
shipscanner config --api-url https://shipscanner.dev

Output

  ShipScanner Report
  owner/repo (main)

  Score: 720 / 850  (A)
  ████████████████████████████░░░░░░░░░░░░
  300──────────────────────────────────850

  Security               ████████████░░░  240/300  (80%)  3 issues
  Secrets & Credentials  ███████████████  200/200  (100%) clean
  Dependencies           ██████████░░░░░  100/150  (67%)  8 issues
  Code Quality           ████████████░░░  82/100   (82%)  5 issues
  Best Practices         ███████████████  98/100   (98%)  1 issues

  Critical: 0  High: 2  Medium: 5  Low: 10

  Full report: https://shipscanner.dev/report/abc123

For AI Agents

ShipScanner is built for the agent economy. AI coding agents can call it before committing code.

# JSON output for machine consumption
npx shipscanner scan owner/repo --json

# Use as a quality gate (exit code 1 if below threshold)
npx shipscanner scan owner/repo --json --threshold 600

Environment Variables

SHIPSCANNER_API_KEY=sk_...    # API key (alternative to login)
SHIPSCANNER_API_URL=https://shipscanner.dev  # API endpoint

What It Scans

| Scanner | Category | What it checks | |---------|----------|----------------| | Semgrep | Security | SAST - SQL injection, XSS, etc. | | Gitleaks | Secrets | Hardcoded API keys, tokens, passwords | | Trivy | Dependencies | Known CVEs in packages | | ESLint | Quality | Code smells, anti-patterns | | jscpd | Quality | Copy-paste / code duplication | | Lizard | Quality | Cyclomatic complexity | | Repocheck | Best Practices | Tests, CI/CD, LICENSE, README, .gitignore |

Links

License

MIT