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

goldenprofile

v0.2.0

Published

GoldenProfile Virtual Fingerprint engine — cross-document entity resolution. Edge-safe TypeScript surface over the same pyo3-free Rust kernel as the Python/C bindings, via opt-in WebAssembly.

Readme

goldenprofile

Edge-safe TypeScript surface for the GoldenProfile Virtual Fingerprint engine — cross-document entity resolution. It resolves a set of profile "mentions" (a name + category + anchor + defining attribute per element) into cross-document entities, with a full per-pair score breakdown behind every merge.

The resolver is the same pyo3-free Rust kernel (goldenprofile-core) used by the Python (goldenprofile_native) and C bindings, surfaced here through opt-in WebAssembly. Resolutions are byte-identical across surfaces by construction — one kernel, no hand-maintained parallel implementation.

Design: pure-by-default, kernel-on-opt-in

The base goldenprofile import is pure types + the resolver + a registry — it pulls zero wasm bytes, so it stays edge-safe (browsers, Workers, edge runtimes; no node:*). The kernel lives behind the goldenprofile/wasm subpath. Until you enable it, resolveProfiles() throws an actionable error (the exact analog of the Python surface requiring its native wheel).

import { resolveProfiles } from "goldenprofile";
import { enableGoldenprofileWasm } from "goldenprofile/wasm";

enableGoldenprofileWasm(); // loads the wasm kernel once, registers the backend

const result = resolveProfiles({
  profiles: [
    { kind: "node", name: "Acme Inc", category: "Company", anchor: "UNKNOWN", attribute: "Anvils" },
    { kind: "node", name: "Acme",     category: "Company", anchor: "UNKNOWN", attribute: "Founded 1900" },
  ],
});

result.clusters; // [[0, 1]] — both mentions are the same cross-document entity
result.edges;    // the scored merge(s) that justify the cluster

clusters partitions every profile index (singletons included). node and edge kinds never cross-merge.

API

  • resolveProfiles(request): Resolution — resolve; throws if the wasm backend isn't enabled.
  • enableGoldenprofileWasm() (from goldenprofile/wasm) — load the kernel + register the backend.
  • isGoldenprofileWasmEnabled(), disableGoldenprofileWasm() — backend state (test isolation / opt-out).

Regenerating the wasm artifact

The committed src/core/_wasm/* is built from the Rust kernel by scripts/build_goldenprofile_wasm.mjs (needs wasm-pack + the wasm32-unknown-unknown target). Re-run it whenever the kernel changes; CI guards the committed artifact against drift.

License

MIT