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

@sentryqa/runtime

v0.1.8

Published

Framework-neutral Shadow DOM visual QA runtime for SentryQA.

Readme

@sentryqa/runtime

Framework-independent visual QA runtime: mounts the SentryQA toolbar, markers, panel, and interactions inside the browser using Shadow DOM.

Recommended Installation

In a React + Vite application, do not install it directly. Run npx sentryqa init and let @sentryqa/vite inject it only during vite serve.

Install it directly only if you have a compatible custom bridge or are creating an advanced integration:

npm install @sentryqa/runtime

Minimal Advanced Workflow

The runtime requires a browser Document and a local endpoint that understands the issue protocol. The Vite plugin normally generates and provides the nonce.

import { mountSentryQa } from '@sentryqa/runtime';

const controller = mountSentryQa({
  apiBase: '/__sentryqa/issues',
  nonce: 'nonce-entregado-por-tu-bridge',
});

controller.pause();
controller.resume();
await controller.reload();
controller.unmount();

In addition to mountSentryQa, the public entry point exports createApiClient, context capture, markers, overlays, live authoring, review, wireframes, route monitoring, store, and FrameworkAdapter for custom integrations.

Canonical captures

Canonical v2 saves require a canonicalCapture adapter. @sentryqa/vite provides it automatically during local Vite development. Advanced integrations must provide actual current-app viewport pixels and a PNG encoder; capture errors intentionally block the save. The runtime does not substitute synthetic pixels or rewrite v1/v2 persisted issues.

Live Authoring

Layout Mode's additive live-authoring producer renders inert modal, form, input, button, and card ghosts over the current page. Each asset keeps a stable #number; deleted numbers remain tombstoned. Authored overlay geometry is never replaced by observed host geometry. Selecting an asset and clicking a host element captures only bounded locator, geometry, route, viewport, scroll, and nearby summaries. Runtime nodes, values, credentials, storage, network, console data, screenshots, and private text are excluded.

Unresolved or ambiguous anchors require explicit confirmation before save. Layout files use the existing .sentryqa/layouts revision and stale-write conflict lifecycle; live artifacts remain separate from Overlay and Wireframe artifacts.

Relationship to the Other Packages

  • @sentryqa/vite prepares the bridge, nonce, and automatic runtime injection.
  • @sentryqa/react can provide component metadata through FrameworkAdapter.
  • @sentryqa/core contains the shared models and codecs.
  • sentryqa configures the Vite plugin; it does not configure the runtime directly.

When Not to Use It

Do not add it to a production build or mount it without an authorized bridge. It is intended for local development, requires a Document, and does not depend on React components from the host application.