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

@intellize/tracker

v0.3.1

Published

Behavioral analytics for your website. One install, one line of code.

Downloads

55

Readme

@intellize/tracker

Behavioral analytics for production websites.

The tracker captures:

  • server-side page requests
  • bot traffic before it pollutes analytics
  • persistent visitor and session identifiers
  • client-side pageviews and SPA navigation
  • clicks, rage clicks, dead clicks, and mouse movement
  • scroll depth
  • privacy-safe form interaction events
  • JavaScript errors
  • web vitals and performance telemetry
  • optional session replay snapshots and DOM mutations

Install

npm install @intellize/tracker

Adapter Support

| Adapter | Server events | Client events | Notes | | --- | --- | --- | --- | | Express | Yes | Yes | Full support. Middleware injects the browser bundle automatically into HTML responses. | | Next.js | Yes | Yes | Add the Next middleware and the hosted t.js script in your app shell. | | Nuxt | Yes | Yes | Add the Nuxt server middleware and the hosted t.js script in your app shell. | | Script tag only | No | Yes | Use when you cannot run the Node package. Bot filtering and server request tracking are unavailable. |

Express

import express from 'express';
import { createIntelizeMiddleware } from '@intellize/tracker/express';

const app = express();

app.use(createIntelizeMiddleware({
  token: 'YOUR_SITE_ID',
}));

That is enough for Express. The middleware fetches remote config, records server requests, sets cookies, and injects the browser bundle before </body>.

Next.js

// middleware.ts
import { createIntelizeMiddleware } from '@intellize/tracker/next';

export default createIntelizeMiddleware({
  token: 'YOUR_SITE_ID',
});
// app/layout.tsx
import Script from 'next/script';

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <body>{children}</body>
      <Script
        src="https://t.intellize.de/t.js"
        data-site="YOUR_SITE_ID"
        strategy="afterInteractive"
      />
    </html>
  );
}

Use the middleware for server request tracking and cookies. Add the hosted script to capture client-side events because Next middleware cannot inject HTML.

Nuxt

// server/middleware/intellize.ts
import { defineIntelizeMiddleware } from '@intellize/tracker/nuxt';

export default defineIntelizeMiddleware({
  token: 'YOUR_SITE_ID',
});
<!-- app.vue -->
<script setup lang="ts">
useHead({
  script: [
    {
      src: 'https://t.intellize.de/t.js',
      defer: true,
      'data-site': 'YOUR_SITE_ID',
    },
  ],
});
</script>

Use the server middleware for request tracking and cookies. Add the hosted script to capture browser events because Nuxt server middleware cannot rewrite rendered HTML reliably.

Options

createIntelizeMiddleware({
  token: 'YOUR_SITE_ID',
  configUrl: 'https://t.intellize.de',
  debug: false,
});
  • token Required site identifier.
  • configUrl Optional config host. Defaults to https://t.intellize.de.
  • debug Optional. When true, logs emitted server request events to the console.

What Gets Captured

| Event | Description | | --- | --- | | request | Server-side HTTP request with bot detection and referrer data | | pageview | Initial page load and SPA navigation | | click | Click target, text, and position | | rage_click | Repeated clicks on the same target in a short window | | dead_click | Clicks that do not appear to change the page | | scroll | Scroll depth milestones | | form_interact | Focus, blur, submit, and abandonment metadata without field values | | error | Uncaught exceptions and unhandled rejections | | performance | Browser vitals and timing metrics | | visibility | Tab visibility changes | | mouse_move | Sampled cursor movement for heatmaps | | dom_mutation | Replay snapshots and mutation payloads when replay is enabled |

Publishing Checklist

npm run lint
npm run build
npm run pack:check

License

MIT