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

ossguard

v0.1.4

Published

One CLI to guard any OSS project with OpenSSF security best practices — bootstrap, scan, and monitor.

Downloads

1,101

Readme

OSSGuard — Node.js Implementation

The TypeScript/Node.js implementation of OSSGuard.

npm License: Apache-2.0

Native TypeScript implementation — runs on Node.js 18+, zero-install via npx.

For full documentation, all install methods, and command examples, see the main ossguard repo.

Install

npm install -g ossguard

Quick Start

# Initialize security configs (SECURITY.md, Scorecard, Dependabot, CodeQL, SBOM, Sigstore)
ossguard init

# Run a full security audit
ossguard audit

# Scan for leaked secrets
ossguard secrets

# Check OSPS Baseline compliance
ossguard baseline

# Pin GitHub Actions to commit SHAs
ossguard pin --apply

Commands

| Command | Description | |---------|-------------| | init | Bootstrap security configs for a project | | scan | Quick scan for security configuration | | version | Show version | | Dependencies | | | deps | Analyze dependency health and vulnerabilities | | drift | Detect dependency drift from lock files | | watch | Monitor dependencies for new vulnerabilities | | tpn | Generate third-party notices | | reach | Reachability-filtered vulnerability analysis | | Audit & Fix | | | audit | Comprehensive security audit (config + deps + reach) | | fix | Auto-remediate common security issues | | badge | OpenSSF Best Practices Badge readiness | | ci | Generate unified security CI pipeline | | report | Export HTML/JSON compliance reports | | policy | Organization-wide security policy enforcement | | license | License compliance checking | | Advanced | | | baseline | OSPS Baseline compliance (Levels 1–3) | | insights | Generate/validate SECURITY-INSIGHTS.yml | | pin | Pin GitHub Actions to commit SHAs | | secrets | Scan for leaked credentials and secrets | | slsa | SLSA provenance level assessment | | sbom-gen | Generate SPDX or CycloneDX SBOMs | | supply-chain | Malicious package and typosquatting detection | | container | Dockerfile security linting | | compare | Compare security posture of two projects | | update | Security-prioritized dependency updates | | maturity | S2C2F maturity assessment | | fuzz | Fuzzing readiness check and starter harness generation |

Project Structure

src/
├── analyzers/       # 24 security analyzers
├── apis/            # OSV and deps.dev API clients
├── detector.ts      # Project detection and metadata
├── generators/      # Config file generators (security-md, scorecard, etc.)
├── parsers/         # Dependency and SBOM parsers
├── ui.ts            # Terminal output helpers
└── index.ts         # Public API exports

Other Implementations

| Implementation | Install | Best for | |---------------|---------|----------| | ossguard-python | pip install ossguard | Rich UI, developer workstation | | ossguard-go | brew install kirankotari/tap/ossguard | CI pipelines, single binary |

Development

git clone https://github.com/kirankotari/ossguard-npm.git
cd ossguard-npm
npm install
npm run build
npm test
npm run typecheck

License

Apache-2.0 — see LICENSE for details.