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

@analyticstrend/wxt-analytics

v0.1.0

Published

AnalyticsTrend for WXT's analytics module: durable delivery, Firefox consent and uninstall tracking, and nothing about the pages people visit.

Readme

@analyticstrend/wxt-analytics

AnalyticsTrend as a provider for WXT's analytics module. Events go through the AnalyticsTrend extension SDK, so they survive a suspended background, honour Firefox's data-collection consent and Global Privacy Control, and can record uninstalls. WXT's own on/off switch governs all of it.

npm install @analyticstrend/wxt-analytics @analyticstrend/extension @wxt-dev/[email protected]

Use @wxt-dev/analytics 0.5.4 with npm: 0.5.5 and 0.5.6 publish a development postinstall script that fails under npm. pnpm, which skips dependency install scripts, works with any of them.

// wxt.config.ts
export default defineConfig({ modules: ["@wxt-dev/analytics/module"] });

// app.config.ts
import { analyticsTrend } from "@analyticstrend/wxt-analytics";

export default defineAppConfig({
  analytics: {
    enabled: storage.defineItem("local:analytics-enabled", { fallback: true }),
    providers: [
      analyticsTrend({ writeKey: import.meta.env.WXT_ANALYTICSTREND_WRITE_KEY, uninstallTracking: true }),
    ],
  },
});

What reaches AnalyticsTrend

| WXT hands the provider | What happens | | --- | --- | | track: the event name and properties | Sent as the event and its properties | | An auto-tracked click: tag, id, class | Sent | | An auto-tracked click: text and link | Dropped. On a website they are that site's content and a full address | | page(url) | page_viewed, with path only for the extension's own pages | | identify | Ignored. The SDK keeps its own random identifier | | Language, screen, referrer, address, title, session | Never sent |

Full guide: https://analyticstrend.com/docs/guide/install-wxt