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

@sioma/cli

v0.4.1

Published

The `sioma` CLI: deterministic, zero-heuristic OpenAPI extraction from real code. `sioma scan` walks a repo's routes, types, and validators and writes a byte-stable openapi.json; `verify`/`publish`/`diff` round out the CI publish loop.

Readme

@sioma/cli

Deterministic, zero-heuristic OpenAPI extraction from real code — the sioma command for Sioma, which makes any AI cheaper and more reliable by serving it only the context each request needs.

npx @sioma/cli scan .

scan walks your repo's actual routes, TypeScript types, and validators and writes a byte-stable openapi.json. Nothing is guessed: every field is traced through the TypeScript compiler to a declared type, and anything that can't be proven is dropped rather than invented. Scanning the same code twice produces byte-identical output, so a spec diff always means the code changed.

Supported today: Next.js (App + Pages Router), express, fastify, hono. Run it from the app's own directory (with its node_modules installed — types resolve through your real dependency graph, including generated clients like Prisma's).

Commands

sioma scan [dir]      # analyze the repo, write openapi.json
sioma verify [dir]    # build the entity graph from the spec, report problems
sioma publish [dir]   # upload + publish the spec to your Sioma workspace
sioma diff [dir]      # exit 1 if the code changed since the last publish
sioma version

publish needs a publish-scoped key from your workspace, via environment:

export SIOMA_PUBLISH_KEY=...                     # Control room → Keys → scope: publish
export SIOMA_APP_URL=https://app.sioma.ai       # your workspace origin (this is the default)
sioma publish .

The CI loop is two commands — a re-run when nothing changed is a no-op:

sioma diff . || sioma publish .

What leaves your machine

Nothing, except when you run publish — and then exactly one thing: the generated openapi.json. scan, verify, and diff never touch the network. Keys are read from the environment and never written to disk.

License

FSL-1.1-Apache-2.0 — source-available, not open source. Every use is permitted except a Competing Use: shipping a commercial product or service that substitutes for this software or offers substantially similar functionality. Internal use, non-commercial education and research, and professional services you provide to a licensee are all permitted. Each release converts to Apache 2.0 two years after it ships, irrevocably.

The grant covers everything in the published artifact, including the compiled code this package bundles from Sioma's internal libraries.

Versions 0.2.0 and earlier were released under MIT and stay MIT — a licence change binds new releases only.