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

@mushi-mushi/plugin-sentry

v0.2.8

Published

Reference Mushi Mushi plugin: mirror critical user-reported bugs into Sentry as events, and resolve the corresponding Sentry fingerprint when Mushi applies a fix.

Downloads

630

Readme

@mushi-mushi/plugin-sentry

Reference Mushi Mushi plugin: mirror critical user-reported bugs into Sentry, and resolve the matching Sentry issue when Mushi applies a fix.

Mushi already consumes Sentry data via the Seer poller / webhook (see packages/server/.../sentry-seer-poll); this plugin is the complementary outbound bridge so user reports show up next to telemetry-only errors in Sentry.

Install

npm i @mushi-mushi/plugin-sentry

Run as a stand-alone server

MUSHI_PLUGIN_SECRET=...        # set when the plugin is installed in Mushi admin
SENTRY_DSN=...                 # project DSN — used for the store endpoint
SEVERITY_THRESHOLD=high        # optional; default `high`

# Optional: enable auto-resolve on `fix.applied`
SENTRY_AUTH_TOKEN=...          # org auth token with event:admin + project:read
SENTRY_ORG_SLUG=acme
SENTRY_PROJECT_SLUG=web

PORT=3000                      # optional
npx mushi-plugin-sentry

Then in the Mushi admin Marketplace install the Sentry Mirror plugin and point its webhook_url at https://your-host/mushi/webhook.

Programmatic usage

import { createSentryPlugin } from '@mushi-mushi/plugin-sentry'
import express from 'express'
import { expressMiddleware } from '@mushi-mushi/plugin-sdk'

const handler = createSentryPlugin({
  sentryDsn: process.env.SENTRY_DSN!,
  mushiSecret: process.env.MUSHI_PLUGIN_SECRET!,
  severityThreshold: 'high',
  // Optional: enables auto-resolve.
  sentryAuthToken: process.env.SENTRY_AUTH_TOKEN,
  sentryOrgSlug: 'acme',
  sentryProjectSlug: 'web',
})

express().post('/mushi/webhook', expressMiddleware(handler)).listen(3000)

Subscribed events

  • report.classified — forwarded to Sentry as User Feedback via POST /api/0/projects/{org}/{project}/user-feedback/ when an sentryAuthToken + a valid sentry_event_id are both present on the report. The feedback is then attached to the originating Sentry issue so triage sees the user's words next to the existing event. When either is missing the plugin falls back to the legacy Store endpoint and captures a fresh event with the deterministic fingerprint below.
  • fix.proposed — annotates Sentry only if markInProgress: true.
  • fix.applied — captures an info event with mushi.fixed=true, and (when an auth token is supplied) resolves the matching Sentry issue.

Fingerprinting

Captured events (Store-endpoint fallback path, not User Feedback) use a deterministic fingerprint of ['mushi', projectId, reportId] so Sentry de-dupes the user report into a single issue across re-deliveries. Tags include mushi.report_id, mushi.event, mushi.severity, and (on fixes) mushi.pr_url. The User Feedback path uses Sentry's native event grouping instead — feedback attaches to whichever issue owns the linked sentry_event_id.

License

MIT