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

@darrenjcoxon/codeguard

v1.2.0

Published

Scan code for security issues, get FIXES.md for AI agents to fix them

Readme

CodeGuard 🛡️

Scan your code for security issues. Get a FIXES.md file. Give it to Claude Code or Cursor to fix everything.

Install

npm install -g @darrenjcoxon/codeguard

That's it. CodeGuard automatically installs Semgrep and Gitleaks on first run.

Use

cd your-project
codeguard

This will:

  1. Auto-install any missing scanning tools
  2. Scan for security vulnerabilities, secrets, bad dependencies, code quality issues
  3. Create FIXES.md in your project
  4. Tell your AI agent: "Fix all the issues in FIXES.md"

What It Finds

| Scanner | Issues | |---------|--------| | Semgrep | SQL injection, XSS, command injection, path traversal | | Gitleaks | API keys, passwords, tokens, secrets | | npm audit | Vulnerable dependencies | | ESLint | Code quality issues | | Complexity | Complex code, TODOs, debug statements |

Commands

codeguard                     # Scan current directory
codeguard /path/to/project    # Scan specific path
codeguard setup               # Manually install scanning tools
codeguard check               # Check which tools are installed
codeguard --no-fixes          # Skip FIXES.md generation
codeguard --ci                # CI mode: exit 1 on high/critical issues

CI/CD

# GitHub Actions
- run: |
    npm install -g @darrenjcoxon/codeguard
    codeguard --ci

License

MIT