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

create-kudzu

v0.1.157

Published

Create a Kudzu project

Readme

create-kudzu

Requires Node.js 22 or newer.

Create a Kudzu project:

npm create kudzu@latest my-app
cd my-app
npm run dev

The generated project is a working showcase on @kudzujs/core@^0.16.36 with reusable components, an interactive state example, a zero-JavaScript static route, page metadata, responsive CSS, and npm run check. Configuration remains optional until the app needs custom assets, document defaults, navigation, or build hooks.

Use --no-install to create the files without installing dependencies.

Optional AI authoring guidance

[email protected] provides optional local AI developer tools with managed check cancellation:

npm create kudzu@latest my-app -- --ai

From a source checkout:

node /path/to/kudzu/packages/create-kudzu/index.mjs my-app --ai

This adds a short AGENTS.md, a standard-library-only kudzu-ai.mjs developer tool, and an ai npm script. Check logs are ignored through .kudzu-ai/. Combine with --no-install to generate files without installing packages. Without --ai, the starter stays unchanged.

Developer tools

npm run ai -- docs
npm run ai -- docs Authoring
npm run ai -- check
npm run ai -- check --timeout-ms 600000
  • docs lists level-two headings from the installed core README, including the installed version and file path. Supply one exact, case-insensitive heading (quote multi-word headings) to return that section. Sections are capped at 6,000 characters with explicit truncation and original line ranges. Follow the file reference if more is needed. This uses the generated npm dependency layout; install dependencies before reading docs. It makes no network or model calls.
  • check executes the app's existing npm run check, including its npm lifecycle hooks, from the project root. It returns JSON status, exit code, timing and a log excerpt. Failure stays nonzero. The default timeout is five minutes; choose an integer from 1 to 1,200,000 ms. Timeout/cancellation terminates the spawned process group on Unix or process tree on Windows and reports failure. Under the existing KUDZU_AI_DELIVERY_GROUP=1 managed-runner contract, Unix checks inherit their outer group so a hard group cancellation also reaches their ordinary descendants. A check-local timeout or interruption uses native ps PID/parent-PID inspection to stop only that check's descendant snapshot, preserving sibling work; inspection errors are reported as failures.
  • Full stdout/stderr are retained in a unique .kudzu-ai/check-*/output.log. Large logs show the first/last 2,048 bytes with an omission marker; an error may be in the omitted middle. Read the full log when needed. Old logs are not deleted automatically; remove .kudzu-ai/ when no longer needed.
  • The tool does not cache checks or certify browser behavior. Later edits require a new check. Scripts that intentionally detach background jobs or custom deployment rules need their own lifecycle/asset handling. Use npm run --silent ai -- check to suppress npm's outer lifecycle banner.

Start a new OpenCode or Codex session from the app root to use their documented project-instruction discovery. Other agents need support for AGENTS.md or an explicit request to read it. Editor installation alone does not load instructions. Overrides, disabled discovery, context limits, and headless modes can change loading; verify the effective instructions in the agent you actually use.

AGENTS.md supplies guidance; kudzu-ai.mjs performs real document lookup and check execution. The host's existing shell tool can invoke it without an MCP connection or plugin. It does not intercept every agent action or force use of these commands. There is no additional dependency, agent installation, or model call for these tools. Both files stay outside src and public and are excluded by the default Kudzu build. Custom asset-copy/deployment settings can still publish root files. Instructions and tool responses add input context; lower total AI cost is unmeasured.

For an existing app, generate a disposable --ai --no-install project, copy kudzu-ai.mjs, add "ai": "node kudzu-ai.mjs" to your scripts and .kudzu-ai/ to your ignore rules, and merge the applicable instructions into your existing rules. Keep your real check script; do not make it invoke ai check recursively. The generator rejects nonempty targets. Generated tools/rules are snapshots, not auto-updated when Kudzu is upgraded; review them with your existing app setup.