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

spec-spine

v0.8.0

Published

The spec-spine CLI: compile a markdown spec corpus into a deterministic authority ledger and refuse code that drifts from its owning spec. Ships the prebuilt binary; no Rust toolchain required.

Readme

spec-spine (npm)

The spec-spine CLI, distributed as a prebuilt binary through npm. No Rust toolchain required.

spec-spine turns a markdown spec corpus into a deterministic, hash-verifiable authority ledger and refuses code that drifts from its owning spec at PR time. This package lets a TypeScript/JS repo install and run the CLI like any other dev tool.

npm i -D spec-spine
npx spec-spine --version
npx spec-spine init                                  # scaffold a spec corpus
npx spec-spine compile                               # specs/*/spec.md -> registry.json
npx spec-spine index                                 # codebase index
npx spec-spine lint --fail-on-warn                   # corpus conformance
npx spec-spine couple --base origin/main --head HEAD # the PR-time drift gate

Add it to your CI / package scripts like any other binary CLI:

{
  "scripts": {
    "spec:check": "spec-spine compile && spec-spine index check && spec-spine lint --fail-on-warn"
  }
}

How it works

This is a binary-distribution shim, not a native (napi) addon. The package's bin is a tiny Node launcher that resolves the one prebuilt binary matching your platform and runs it as a child process, forwarding arguments and the exit code.

The binaries ship as optional dependencies (@spec-spine/cli-<os>-<cpu>), each gated by npm's os/cpu fields so only the one for your machine is installed. There is no postinstall script, no network access at install time, and no archive extraction, so it works under npm ci --ignore-scripts and fully offline (from a warm cache or a private mirror).

Supported platforms

| OS | Arch | Notes | |---|---|---| | macOS | arm64, x64 | | | Linux | x64, arm64 | glibc only (see below) | | Windows | x64 | |

Linux binaries are glibc, not musl. On Alpine or any musl host the launcher refuses with a clear message: use a glibc-based image, or install from source with cargo install spec-spine-cli. The same applies to any platform without a prebuilt binary (Windows on ARM, 32-bit, …).

Versioning

The npm version equals the binary release tag it ships: [email protected] runs the binary built from v0.1.0. There is no floating range, so a pinned npm version always runs a known binary.

Alternatives (no npm)

cargo install spec-spine-cli                                          # from crates.io
curl -fsSL https://raw.githubusercontent.com/bartekus/spec-spine/main/install.sh | sh

License

Apache-2.0. See the repository for full documentation, the Rust library API, and the design docs.