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

schema-watch

v0.1.0

Published

Catch breaking API changes before your frontend breaks. Local proxy, live dashboard, and a CI contract gate.

Readme

schema-watch

Catch breaking API changes before your frontend breaks.

Schema-Watch watches the traffic your app already makes, learns the shape of every response, and tells you when that shape changes. Not the values. The shape: a field that disappeared, a string that became a number, a value that started coming back null.

npx schema-watch init --target http://localhost:3001
npx schema-watch start

Point your frontend at the proxy, use your app, and open the dashboard. Every endpoint you touch is now under contract.

Requires Node 22.5 or newer (it stores captures with the built-in node:sqlite).

The CI gate

The part that actually saves you. Run your integration tests through the proxy, export what came back, and fail the build if the contract broke:

npx schema-watch export --out contract.json
npx schema-watch check --contract contract.json --baseline .schema-watch/baseline.json

check exits 1 on a breaking change and prints what broke. Add --frontend-src src and it also names the files that read the changed field, so the failure points at the code you have to fix rather than at a diff.

Add --sarif results.sarif to surface the same findings as GitHub code scanning annotations, inline on the pull request.

There is a ready-made workflow in examples/github-action.

Context for AI coding agents

npx schema-watch context --claude-md

Writes what your API actually returns, the breaking changes it has seen, and which frontend files depend on them, into CLAUDE.md. Your agent stops guessing at response shapes.

Commands

| Command | What it does | | --- | --- | | init | Write schema-watch.config.json in the current directory | | start | Start the proxy and the dashboard | | export | Write the captured contract to JSON | | check | Compare against a baseline and exit 1 on a breaking change | | context | Write an AI context brief |

Run npx schema-watch --help for the full flags.

Local by default

The proxy, the database and the dashboard all run on your machine. Nothing is uploaded and no account is needed. check --baseline is a local file comparison. The hosted service at schema-watch is optional and exists for teams that want a shared baseline across branches.

Apache-2.0.