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

@zevruna/diff

v0.1.2

Published

Canonicalizer, structural differ, severity classifier, per-consumer impact resolver, and manifest checker for MCP tool contracts. Pure, zero I/O.

Readme

@zevruna/diff

Classified schema diffs for MCP tool contracts.

The diff engine behind Zevruna, as a standalone library. Give it two contract snapshots and it tells you what changed and whether the change breaks your callers. Pure functions, zero I/O.

Install

npm i @zevruna/diff

Usage

import { diffSnapshots, worstSeverity } from "@zevruna/diff";

const changes = diffSnapshots(before, after);

worstSeverity(changes); // "breaking" | "risky" | "safe"

changes.filter((c) => c.severity === "breaking");
// [{ kind: "input_property_removed", severity: "breaking", tool: "create_contact",
//    path: "inputSchema.properties.customer_id",
//    detail: "Field `customer_id` was removed from `create_contact` input — consumers still
//             sending it may be rejected or silently ignored." }]

Severity

breaking — a call that used to be valid can now fail, or a value your code reads is gone: tool removed or renamed, input field removed or renamed, a new required field, a field that became required, a type change, an enum value removed or narrowed, a resource or prompt removed.

risky — legal, but it changes what the model sees or does: a new optional field, a new enum value, a changed default, a substantially rewritten description (≥25% word delta).

safe — a tool, resource, prompt or optional field added, a requirement dropped, a cosmetic description edit. Description changes below a 2% word delta aren't reported at all.

Thresholds are exported as DESCRIPTION_RISKY_THRESHOLD and DESCRIPTION_NOISE_FLOOR.

Also exported

canonicalize, contentHash, schemaHash, stableStringify, resolveImpacts, checkManifest, wordDelta, plus the Snapshot, Change, Severity, ChangeKind, Manifest and Impact types.

In your terminal

The same classification from the CLI, exiting 1 on any breaking change:

npx zevruna diff before.json after.json

License

MIT