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

@croutons.ai/croutons-cli

v0.1.2

Published

Drop-in CLI for the Croutons SEO agent: crawl/inventory audit, Dev UI, wired to the main croutons-seo-agents package.

Readme

@croutons.ai/croutons-cli

NPM entry point for the Croutons SEO agents (croutons-seo-agents/): same Python codebase the monorepo uses, vendored into vendor/croutons-seo-agents when you publish this package (prepack runs scripts/sync-croutons-vendor.mjs from the repo root).

The published package contains no customer or site-specific secrets — only code, vendored agent sources, and generic placeholders (e.g. IANA example.com in croutons init templates).

How it connects to “main croutons”

| Piece | Role | |--------|------| | Source of truth | croutons-seo-agents/ at the repo root (Python: Dev UI, PSE curator, page audit, apply pipeline). | | This package | Ships a snapshot of that folder under vendor/ so npx @croutons.ai/croutons-cli works outside the monorepo. | | npm run prepack | Refreshes vendor/ from root croutons-seo-agents/ — run before npm publish. |

To update the published CLI, change Python in croutons-seo-agents/, then from packages/croutons-cli:

npm version patch
npm publish --access public

(Use your npm org scope; rename "name" in package.json if @croutons is not yours.)

Commands

  • croutons init — writes croutons.config.json in the current repo (edit publicSiteUrl).
  • croutons init --unpack — copies the vendored agent into ./croutons-seo-agents (consumer repos without the monorepo).
  • croutons audit — deterministic URL inventory + SEO issues → .croutons/last-audit.json (calls audit_cli.py).
  • croutons devuipython3 app.py from the agent root (OpenAI .env etc. unchanged). Logs a one-line summary of @croutons-ai/* expertise packages when present under node_modules.
  • croutons packages — lists discovered expertise packages (croutons packages --json for machine-readable output).

Override agent location: CROUTONS_AGENT_ROOT=/path/to/croutons-seo-agents.

Expertise packages (@croutons-ai/*)

Install optional domain/memory packages in the same project as the CLI; they are auto-discovered from node_modules/@croutons-ai/* via each package’s package.jsoncroutons.expertise field (no manual registration).

Spec (monorepo): croutons-seo-agents/docs/EXPERTISE_PACKAGE_CONTRACT.md.

Monorepo dev

From the website repo root, install workspaces and run the local bin against this tree (no vendor needed):

npm install
npx croutons agent-path
# prints absolute path to croutons-seo-agents (e.g. …/my-site/croutons-seo-agents)

Python setup

The agent is still Python 3 + requirements.txt. After --unpack:

cd croutons-seo-agents
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env

Then croutons devui from the site repo (CLI finds croutons-seo-agents by walking up from cwd).