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

@waica/cli

v0.6.1

Published

Waica in one command — `npx @waica/cli` opens the editor, `waica mcp` serves the MCP server

Readme

waica

The waica editor, one command away:

npx @waica/cli

The package is scoped because the bare npm name is unavailable; its installed binary is still waica. The command serves the editor at http://localhost:5178 and opens a browser. Projects are plain files saved directly to a selected folder.

MCP server

The same package includes the Waica MCP server:

claude mcp add waica -- npx -y @waica/cli mcp

waica mcp speaks MCP on stdio and writes no protocol-external output to stdout. Every tool requires an absolute project_path.

| Tool | Description | |---|---| | create_project | Create a demo or blank Waica Project. | | list_components | List installed and project-owned component information. | | describe_archetype | Describe an installed archetype. | | project_summary | Summarize a Project's plain files. | | validate_project | Return structured validation findings. | | scaffold_component | Create a component starter. | | scaffold_prefab | Create an object, tile or character prefab starter. | | scaffold_role | Create a custom role starter. | | scaffold_state | Create state code for a role. | | scaffold_ui | Create an HTML UI-piece starter. | | start_project | Start or reuse a browser-backed Run Session at a paused frame-zero baseline. | | stop_project | Stop a Run Session and clean its browser, process group and port. | | inspect_runtime | Read a filtered live Runtime Snapshot. | | control_runtime | Inject semantic actions or pause, resume and step simulation frames. | | capture_screenshot | Return a PNG of the composited Game canvas and Waica HTML UI. |

See the MCP README for schemas, result contracts and projection limits.

Runtime prerequisites and security

Runtime tools support macOS and Linux; start_project rejects Windows while the ten static/scaffold tools remain available. They require already installed Project dependencies, the Project's declared npm/pnpm/Yarn/Bun executable and a compatible system Google Chrome or Chromium. This package depends on playwright-core, which does not download or bundle a browser.

start_project executes trusted Project code and its declared scripts.dev with normal local user permissions. It is not a sandbox. It never installs dependencies, mutates lockfiles or accepts an arbitrary shell command.

A Run Session starts paused at frame 0. control_runtime can queue action names and step exact frames, or resume RAF-driven real time and pause again without catch-up. inspect_runtime is read-only and returns bounded stats/entity/component state; capture_screenshot includes visible HTML UI without duplicating base64 into metadata.

stop_project and MCP transport close both clean all browser and dev-process resources owned by the server. A reload reconnects to a fresh paused Game; failures terminate and clean the session.

Editor options

| Flag | What it does | |---|---| | --port <n> | Preferred editor port (default 5178; the next free one is used if occupied). | | --no-open | Do not open the editor in a browser. | | --version | Print the version. | | --help | Show help. |

The only positional argument is mcp.

Editor behavior

  • Already running? If the selected port belongs to another Waica editor, an interactive process can stop and replace it. Without a TTY it reuses that editor. A port held by another application falls back to the next free port.
  • Updates. Startup performs a short, offline-tolerant npm version check. Interactive global installs can update in place; npx and non-interactive runs print the update command instead.

What's in the box

The published CLI contains the pre-built editor (dist/editor), its static server, the built MCP server (dist/mcp) and vendored published-shape copies of @waica/engine, @waica/behaviors and @waica/archetype-platformer. Normal package installation supplies @modelcontextprotocol/sdk, playwright-core, three and their transitive dependencies. No browser binary is bundled and nothing phones home.