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

modellock

v0.1.2

Published

package-lock.json for AI model dependencies

Readme

Stop silent AI-model dependency drift before it reaches production.

ModelLock

ModelLock is package-lock.json for AI model dependencies.

It scans a repository for AI provider/model declarations, writes an approved llm.lock.json snapshot of the material facts you accepted, and fails CI when those facts drift in ways your policy cares about.

Why

Model identifiers float. Pricing changes. Context windows shrink. Tool calling disappears. Deprecation dates move closer. Teams usually notice after production breaks or the bill spikes.

ModelLock makes the approved facts explicit and checks them locally or in CI.

What it locks

Material facts include:

  • provider and requested model identifier
  • floating vs fixed identifier
  • lifecycle status and retirement date
  • input/output token pricing
  • context and maximum output limits
  • tool-calling, structured-output, and vision support
  • evidence sources, timestamps, digests, and confidence

Non-goals

ModelLock does not:

  • call LLM or provider inference APIs
  • use a database, hosted backend, or accounts
  • require secrets on the free path
  • send your repository source anywhere
  • recommend models or run prompt benchmarks

Quick start

npm install -g modellock
cd your-repo
modellock init
modellock check

Or with npx:

npx modellock init
npx modellock check

Commands

| Command | Purpose | | ------------------------------------ | ------------------------------------------------------------------------------- | | modellock init | Discover dependencies, create .llm-lock.yml if missing, write llm.lock.json | | modellock scan | Inventory discovered dependencies without writing files | | modellock check | Diff approved lockfile vs current registry and apply policy | | modellock update | Propose a replacement lockfile + Markdown report (--write to apply) | | modellock explain <provider:model> | Show approved, current, diffs, policy, confidence, evidence | | modellock validate | Validate config, lockfile, and local registry snapshot |

Exit codes:

| Code | Meaning | | ---- | -------------------------------------------- | | 0 | Success (warnings allowed) | | 1 | Blocking policy failure | | 2 | Invalid configuration / CLI usage | | 3 | Invalid lockfile | | 4 | Registry unavailable with no usable fallback | | 5 | Internal error | | 6 | Unsupported lockfile version | | 7 | Discovery ambiguity requiring input |

GitHub Action

permissions:
  contents: read

jobs:
  modellock:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: vibe-code-commit/modellock@v0
        with:
          network: "false"

Default permissions are contents: read. The Action never uploads repository source contents. See docs/github-action.md and examples/workflows.

Documentation

Requirements

  • Node.js 24 (Active LTS), pinned via .nvmrc / .node-version

License

Apache-2.0. Copyright 2026 Rabbott LLC.

See LICENSE, NOTICE, and docs/ownership.md.