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

@razroo/iso-canon

v0.1.0

Published

Deterministic canonicalization and entity matching for AI-agent workflows: normalize URLs, companies, roles, and stable dedupe keys without model calls.

Readme

@razroo/iso-canon

Deterministic canonicalization and entity matching for AI-agent workflows.

iso-canon answers: what stable key represents this URL, company, role, or company-role pair? It normalizes common workflow identifiers and compares them without model calls, MCP servers, or prompt-token-heavy duplicate rules.

It is:

  • Deterministic: the same input and profile always produce the same key.
  • Explainable: comparisons return a verdict, score, and reasons.
  • Domain-neutral: JobForge examples are included, but the package only knows URL/text canonicalization profiles.

Install

npm install @razroo/iso-canon

CLI

iso-canon normalize url "https://www.example.com/jobs/123?utm_source=x"
iso-canon normalize company "OpenAI, Inc."
iso-canon key company-role --company "Anthropic, PBC" --role "Senior SWE - Remote US"
iso-canon compare company "OpenAI, Inc." "Open AI" --config examples/jobforge-canon.json --profile jobforge
iso-canon explain --config examples/jobforge-canon.json --profile jobforge

compare prints same, possible, or different. It exits 0 for all valid comparisons so callers can decide how strict to be.

JobForge-Style Example

iso-canon key company-role \
  --company "Anthropic, PBC" \
  --role "Senior SWE, AI Platform - Remote US" \
  --config examples/jobforge-canon.json \
  --profile jobforge

Output:

company-role:anthropic:senior-software-engineer-ai-platform

Config Shape

{
  "version": 1,
  "profiles": [
    {
      "name": "jobforge",
      "url": {
        "dropHash": true,
        "stripQueryParams": ["utm_*", "gh_src", "source"]
      },
      "company": {
        "aliases": {
          "open ai": "openai"
        },
        "suffixes": ["inc", "llc", "pbc"]
      },
      "role": {
        "aliases": {
          "swe": "software engineer"
        },
        "stopWords": ["remote", "us", "united states"]
      },
      "match": {
        "strong": 0.92,
        "possible": 0.78
      }
    }
  ]
}

Profiles extend built-in defaults, so you only need to declare domain-specific aliases, suffixes, stop words, and thresholds.

Library

import {
  canonicalizeCompanyRole,
  compareCanon,
  loadCanonConfig,
  resolveProfile,
} from "@razroo/iso-canon";

const config = loadCanonConfig(JSON.parse(configText));
const profile = resolveProfile(config, "jobforge");
const key = canonicalizeCompanyRole("OpenAI, Inc.", "Senior SWE - Remote US", profile).key;
const duplicate = compareCanon("company", "OpenAI, Inc.", "Open AI", profile);

Boundary

iso-canon does not decide which source of truth wins and does not mutate trackers, ledgers, indexes, or caches. Domain packages own source precedence and decide whether a possible match should block work, warn, or route to a human review step.