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

composedai

v0.2.1

Published

CLI for Composed AI security reviews — agent and developer friendly

Readme

composedai

Zero-dependency CLI for Composed AI security reviews — built for developers and coding agents.

Install

npm install -g composedai
# or zero-install one-off:
npx composedai@latest review myfile.py

Quick start

# Save your API key
composedai auth --key cai_your_key_here

# Review a file — exits 0 if clean, 1 if findings above threshold
composedai review api/users.py --fail-on high

Agent usage

# Pipe a git diff — great for pre-commit hooks and CI
git diff HEAD~1 | composedai review --stdin --lang python --json

# Full pipeline: review then verify top finding
composedai review src/api.py --json --output-file /tmp/review.json
composedai verify \
  --type $(jq -r '.findings[0].severity' /tmp/review.json) \
  --target $STAGING_URL \
  --json

# Async: submit and poll separately
JOB=$(composedai review bigfile.py --async --json | jq -r '.job_id')
composedai status $JOB --wait --json

Multi-file review

Review multiple files at once:

composedai review src/auth.py src/db.py src/api.py
composedai review 'src/**/*.py'

Jobs are submitted in parallel. Results are shown per file.

Git diff review

Review only the changes in your working branch:

composedai review --diff           # diff against HEAD
composedai review --diff main      # diff against main branch

Ideal for CI pipelines and pre-commit hooks.

Commands

| Command | Description | |---------|-------------| | auth | Save, show, or remove your API key | | review <file> | Security review a file or piped diff | | verify | Verify a finding is exploitable via ComposedRed | | status <job-id> | Check or wait for an async job | | capabilities | Show supported languages, tiers, and rate limits |

Options (global)

| Flag | Description | |------|-------------| | --json | Machine-readable JSON output (errors to stderr) | | --async | Return job ID immediately, don't wait for completion | | --fail-on <severity> | Exit 1 if findings ≥ severity (critical/high/medium/low/any) | | --timeout <seconds> | Max wait time in seconds (default: 120 for review, 300 for verify) | | --output-file <path> | Write output to a file in addition to stdout | | --key <api-key> | Override saved API key | | --api-url <url> | Override API base URL (useful for self-hosted) |

Exit codes

| Code | Meaning | |------|---------| | 0 | Clean — no findings at or above --fail-on threshold | | 1 | Findings found at or above threshold | | 2 | Error — auth failure, network error, timeout |

Configuration

API key is stored at ~/.composedai/config.json (mode 0600).

Priority order: --key flag > COMPOSEDAI_API_KEY env var > config file.

API URL override: --api-url flag > COMPOSEDAI_API_URL env var > config file > default.