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

@vd7/fingerprinter

v1.0.0

Published

Browser fingerprinting utility — collect device/browser signals, hash, persist, send to webhook. Reusable for analytics, fraud detection, consent-aware tracking.

Readme

@vd7/fingerprinter

Browser fingerprinting utility — collect device/browser signals, hash, persist, and optionally send to a webhook. Framework-agnostic core with an optional React component.

Use cases: analytics, fraud detection, consent-aware visitor tracking, rate limiting by device.

Install

npm install @vd7/fingerprinter
# or from local path during development
npm install file:../fingerprinter

Core (any environment)

import { run, hasBeenCaptured, collect } from "@vd7/fingerprinter";

// One-shot: collect, send to webhook, mark as captured (skips if already captured)
const payload = await run({
  storageKey: "my_app_fp",
  webhookUrl: "https://your-endpoint.com/fp",
  onCollect: (p) => console.log("Collected", p.uniqueId),
});

// Or just collect without sending or persisting
const { payload, hash, uniqueId } = await collect();

// Check if this browser was already captured
if (hasBeenCaptured("my_app_fp")) { ... }

React

import { Fingerprint } from "@vd7/fingerprinter/react";

<Fingerprint
  storageKey="my_app_fp"
  webhookUrl="https://your-endpoint.com/fp"
  autoRunDelay={1500}
  showToast={true}
  toastMessage="Fingerprint captured"
/>

Runs collection on first interaction (mouse/touch) or after autoRunDelay ms. Shows an optional toast when done. No UI until then (invisible trigger layer).

Config

| Option | Description | |--------|-------------| | storageKey | localStorage/sessionStorage key for "already captured". Default vd7_fp_captured. | | webhookUrl | POST URL to send the JSON payload to. Omit to skip sending. | | webhookHeaders | Extra headers (e.g. Authorization). | | onCollect | Callback with full payload after collection. |

Payload shape

Includes: timestamp, page, path, referrer, trafficSource, UTM params, userAgent, platform, browser, os, language, screenResolution, viewport, timezone, fingerprintHash, uniqueId, canvas/audio hashes, GPU info, fonts, plugins, etc. See FingerprintPayload in TypeScript types.

Registry & landscape

  • registry/fingerprint-manifest.json — Exhaustive list of every probe (implemented, todo, research). Single source of truth for “what we can collect.” Each entry: id, category, status, apiOrMethod, entropy, fastFail, payloadKey. Aligned with $PATTERNSJSON (resilience.shotgun_fallback, registry_rules, single_source_of_truth). See _meta._cross_references in the manifest.
  • docs/LANDSCAPE.md — Full landscape: approach (probe aggressively, fast-fail, grab everything), horizon (client-side vs out-of-scope), and how to use the manifest to implement more probes.

Goal: enterprise-grade, best-of-everything fingerprinter; the manifest is the todo/backlog and the landscape doc is the map.

License

MIT