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-mushi-mushi

v0.6.12

Published

Run `npm create mushi-mushi` to add the Mushi Mushi bug-reporting SDK to your existing project — the wizard auto-detects your framework (React, Vue, Svelte, Angular, React Native, Expo, Capacitor) and installs the right package.

Readme

create-mushi-mushi

Your AI wrote it. Mushi Mushi tells you why it broke.

Adds Mushi Mushi to the app you already have, so when a user says something is broken you get the likely cause in plain English and a fix prompt for your AI editor. One command finds your framework, installs the right SDK and writes your keys. It can also start a small Vue, Svelte or Node app with Mushi Mushi already in it (--template).

You need Node.js 20 or newer and a free Mushi Mushi account (the wizard opens a browser sign-in).

npm create mushi-mushi
# or
pnpm create mushi-mushi
yarn create mushi-mushi
bun create mushi-mushi

Docs: the setup wizard (same wizard as npx mushi-mushi)

What it does

  1. Finds your framework: Next.js, React (Vite or Create React App), Remix, Astro, Solid, Vue, Nuxt, Svelte, SvelteKit, Angular, Expo, React Native, Capacitor, Express, Fastify, Hono, or plain JavaScript.
  2. Picks the right SDK: @mushi-mushi/react, @mushi-mushi/vue, @mushi-mushi/svelte, @mushi-mushi/angular, @mushi-mushi/react-native, @mushi-mushi/capacitor or @mushi-mushi/web for apps, and @mushi-mushi/node for Express, Fastify and Hono servers.
  3. Uses your package manager: npm, pnpm, yarn or bun, based on your lockfile.
  4. Writes your keys: into .env.local (or your existing .env), with the prefix your framework needs, for example VITE_MUSHI_PROJECT_ID or NEXT_PUBLIC_MUSHI_API_KEY. Servers, Remix and bare React Native get plain MUSHI_PROJECT_ID and MUSHI_API_KEY.
  5. Checks .gitignore: warns you if that env file is not ignored, so you don't commit it.
  6. Prints the setup code for your framework, ready to paste.
  7. Offers to send a test report at the end, so you see your first diagnosed bug right away.

By default it wires Mushi Mushi into an existing project, so run it from that project's root. To start from nothing, use a starter template instead.

Starter templates

--template scaffolds a minimal starter app with Mushi Mushi already wired, instead of running the wizard:

npm create mushi-mushi -- --template vue           # into ./mushi-vue-app
npm create mushi-mushi -- --template svelte my-app # into ./my-app
npm create mushi-mushi -- --template node          # into ./mushi-node-app

Valid templates: vue, svelte, node. The target directory must not exist yet. Then:

cd mushi-vue-app
npm install
npx mushi-mushi   # browser sign-in, writes your env vars
npm run dev       # npm start for the node starter

Flags

npm create mushi-mushi -- --framework next
npm create mushi-mushi -- --project-id <project-uuid> --api-key mushi_xxx
npm create mushi-mushi -- --skip-install
npm create mushi-mushi -- --skip-test-report
npm create mushi-mushi -- --audit          # health-check an existing install instead
npm create mushi-mushi -- --cwd apps/web
npm create mushi-mushi -- --endpoint https://mushi.your-company.com
npm create mushi-mushi -- --template vue [dir]
npm create mushi-mushi -- -y
npm create mushi-mushi -- --version
npm create mushi-mushi -- --help

npm create and pnpm create need the -- separator before flags. Yarn 1 and Bun do not.

Equivalent commands

npx mushi-mushi               # shorter
npx @mushi-mushi/cli init     # scoped name

Troubleshooting

  • Wrong framework detected? Pass --framework <id> explicitly. Valid IDs: next, react, cra, remix, astro, solid, vue, nuxt, svelte, sveltekit, angular, expo, react-native, capacitor, express, fastify, hono, vanilla.
  • Running in a monorepo? cd into the package you want Mushi Mushi in first, or pass --cwd apps/web.
  • npx cache serving an old version? Run npm cache clean --force or npx mushi-mushi@latest.
  • Non-interactive shell (CI, or an AI agent's terminal)? Pass --yes. The wizard then prints the sign-in URL (no browser opens) and picks the project by your app's name. On CI with no one to sign in, also pass --project-id and --api-key.
  • Key pasted with quotes/whitespace? The wizard strips them, then checks the format: the API key starts with mushi_ or mush_pk_ followed by 10 or more characters, and the project ID is a UUID (or proj_ followed by 10 or more characters).

Security

  • Credentials accepted via --api-key flag leak into ps -ef. Prefer the interactive prompt on dev machines; on CI, pass them via the environment and an explicit --api-key "$MUSHI_API_KEY" at the boundary.
  • The ~/.config/mushi/config.json credentials cache is written with mode 0o600 (owner read/write only) on Unix. Legacy ~/.mushirc auto-migrates on first load.
  • All env-file writes strip CR/LF/NUL from secrets to prevent accidental .env injection.

Links

License

MIT


Monorepo scale (July 2026): 77 edge functions · 546 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: docs/stats.md · pnpm docs-stats