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

@voyant-travel/observability-sentry

v0.4.0

Published

Sentry adapter for the Voyant observability Reporter seam (RFC voyant#1553).

Readme

@voyant-travel/observability-sentry

Sentry adapter for the Voyant observability Reporter seam (RFC voyant#1553).

The framework owns the mechanism — a request id minted once and propagated (X-Request-Id + getRequestId()), standard catch points (5xx boundary, auth sub-app, module bootstrap, event-bus subscribers, scheduled jobs), and a normalized ErrorEvent shape. This package is the opt-in sink: it forwards those events to Sentry, tagging each with the same requestId the user sees, so a support reference is a one-paste lookup in Sentry issue search.

Why an adapter and not a Sentry dependency

This package takes no dependency on a Sentry SDK. It binds to a structural SentryLike interface, so you pass your already-initialized Sentry client — @sentry/cloudflare, @sentry/node, @sentry/bun, @sentry/browser, any version. Your deployment owns init/DSN/transport/sampling/PII scrubbing; the adapter only maps the event and forwards it. The framework drains the buffered event via ctx.waitUntil using the flush() the adapter returns — so you don't hand-roll the Workers flush/waitUntil lifecycle that the RFC found broken in three separate copies.

Usage

import * as Sentry from "@sentry/cloudflare"
import { createApp } from "@voyant-travel/hono"
import { sentryReporter } from "@voyant-travel/observability-sentry"

const reporter = sentryReporter(Sentry)

const app = createApp({
  reporter,
  appName: "operator", // stamped on every event as the `app` tag
  modules,
})

That is the entire change — swap consoleReporter() (or the no-op default) for sentryReporter(Sentry). Every framework catch point now reaches Sentry.

What lands on the Sentry issue

| ErrorEvent field | Sentry mapping | | --- | --- | | requestId | tag request_id (omitted when empty, e.g. background jobs) | | app | tag app | | error | the captured exception (non-Error values are wrapped so they still group with a stack) | | context | nested under the voyant context group |

Options

sentryReporter(Sentry, {
  requestIdTag: "request_id",  // tag key for the correlation id
  appTag: "app",               // tag key for the logical app name
  contextKey: "voyant",        // context group the `ErrorEvent.context` nests under
  flush: true,                 // default: flush when the client exposes flush() (Workers need it)
  flushTimeoutMs: 2000,        // flush timeout in ms
})

On long-lived Node/Bun servers you can pass flush: false to let Sentry's own background transport deliver events instead of flushing per capture.

License

Apache-2.0