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

@nexovue/browser-sdk

v0.1.2

Published

Real user monitoring for nexovue: web vitals, JavaScript errors, page views and sessions, as OpenTelemetry.

Readme

@nexovue/browser-sdk

Real user monitoring for nexovue: page views, web vitals, JavaScript errors and sessions from your users' browsers, sent as OpenTelemetry.

Install

npm install @nexovue/browser-sdk
import { init } from "@nexovue/browser-sdk";

init({
  siteKey: "nvp_live_…",
  endpoint: "https://ingest.nexovue.example.com",
  serviceVersion: "1.4.2",
});

Or without a bundler, from a script tag. The file is dist/nexovue-rum.min.js in the package, and it defines a global nexovue:

<script src="https://cdn.jsdelivr.net/npm/@nexovue/[email protected]/dist/nexovue-rum.min.js"></script>
<script>
  nexovue.init({ siteKey: "nvp_live_…", endpoint: "https://ingest.nexovue.example.com" });
</script>

Before it sends anything

Create a site key in the console, under Settings → Ingest keys, and list every origin your pages are served from — http://localhost:5173 for development too, and both https://example.com and https://*.example.com if you use both. A key with no origins refuses everything.

A site key (nvp_live_) is public: it can only send browser telemetry to one project. Never put a secret ingest key (nvk_live_) in a page; init refuses one.

Options

| Option | | Default | |---|---|---| | siteKey | the site key | required | | endpoint | the origin your nexovue receives telemetry on | required | | serviceName | names the site in the console | the page's hostname | | serviceVersion | joins telemetry to a release | — | | route | the route template, e.g. "/products/{id}"; never guessed from the URL | — | | captureQueryAndFragment | send the query string and #fragment; off because they often carry tokens or personal data | false | | sampleRate | share of sessions, 0 to 1, whose page views and vitals are sent; errors are always sent | 1 | | sessionIdleTimeoutMs | a session ends after this long idle | 30 minutes | | sessionMaxDurationMs | and never lasts longer than this | 4 hours | | flushIntervalMs | how often buffered telemetry is sent | 10 seconds |

The handle

init never throws. It returns a handle; active is false when the configuration was refused, and the reason is in the browser console.

| | | |---|---| | active | whether telemetry is being collected | | flush() | send what is buffered now | | shutdown() | stop collecting and remove every listener | | diagnostics() | counts of what went wrong inside the SDK, for support |

License

Apache-2.0.