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

@obsrviq/tracker

v0.7.1

Published

Obsrviq capture SDK — privacy-first DOM, console, network, error & web-vitals recording.

Readme

@obsrviq/tracker

The Obsrviq capture SDK. A tiny, privacy-first script that records DOM (rrweb), console, network, errors, and web vitals, then ships them in masked, gzipped batches. No tagging required.

Install

Script tag (no build):

<script
  src="https://cdn.yourapp.com/obsrviq.global.js"
  data-obsrviq-key="pk_live_xxx"
  data-obsrviq-endpoint="https://in.yourapp.com"></script>

The built file is dist/obsrviq.global.js (host it on your CDN).

npm:

npm install @obsrviq/tracker
import { Obsrviq } from '@obsrviq/tracker';
Obsrviq.init({ siteKey: 'pk_live_xxx', endpoint: 'https://in.yourapp.com' });

API

Obsrviq.init(config);                 // see config below
Obsrviq.identify(userId, traits?);    // raw userId (searchable) + SHA-256 hash; retro-stamps
Obsrviq.setMetadata({ plan: 'pro' }); // merge searchable session properties anytime
Obsrviq.reset();                      // forget identity on logout → fresh anonymous session
Obsrviq.track('event', { conversion: true });
Obsrviq.setConsent(true | false);     // gate recording (PRIV-2)
Obsrviq.stop();                       // hard stop + flush
Obsrviq.getDiagnostics();             // { recording, sessionId, flushes, bytesSent, … }

Config

| Option | Default | Notes | |---|---|---| | siteKey | — | Required. The pk_ ingest key. | | endpoint | https://in.lumera.app | Your ingest URL. | | maskAllInputs | true | Never record input values. | | maskTextSelector | — | Mask text inside matching nodes. | | blockSelector | .obsrviq-block | Never record these nodes. | | captureNetworkBodies | false | Opt-in, masked, size-capped. | | redactHeaders | authorization, cookie, set-cookie | Redacted in captured headers. | | requireConsent | false | If true, nothing records until setConsent(true). | | sampleRate | 1.0 | 0..1 fraction of sessions to record. | | flushIntervalMs | 5000 | Batch flush cadence. | | beforeSend | — | Last-chance redaction; return null to drop. |

Behavior

  • Consent & privacy: with a consent gate and consent withheld, zero network calls leave the page (honors Global Privacy Control / DNT).
  • Transport: gzipped via fflate, sent with sendBeacon (or fetch keepalive) on a timer, on visibilitychange=hidden, and on pagehide.
  • Capture: rrweb for DOM (periodic full snapshots for progressive replay); custom interceptors for fetch / XHR / PerformanceObserver / sendBeacon; console hooks; window.onerror + onunhandledrejection; web vitals; rage/dead click detection.

Full guide: docs/EMBEDDING.md.