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

@suss/cli

v0.34.0

Published

Read TypeScript, Python and Ruby, write down what the code does on every path, from the request or message that comes in to the table or queue it touches, and check it against the clients, specs and infrastructure on the other side.

Readme

@suss/cli

Read a codebase and check what it does at every boundary, such as a route or a table, against the clients, specs and infrastructure on the other side. It works on TypeScript, Python and Ruby.

This package is the command line for suss. It gives the same output every time for the same code, and it does not use a model.

Read one service

npx @suss/cli extract -f hono -o api.json
npx @suss/cli inspect api.json
src/api.ts
├─ GET /users/{id}  (hono handler | line 5)
│      if  !findUser()
│        -> 404 { error }
│      elif  findUser().deletedAt
│        -> 410 { error }
│      else
│        -> 200 { id, name, email }
│
└─ POST /users  (hono handler | line 19)
       if  !c.req.json().name
         -> 400 "name is required"
       else
         -> 201 { id, name }

The output lists every path each handler can take, with the status and the body fields it produces. When suss could not follow a call, it reports that under the handler and keeps the path in the list.

Install

npm install --save-dev @suss/cli

Every pack ships inside the CLI, so -f hono and -f rails need nothing else installed. suss init reads your dependencies and writes out the commands for your own project.

The four commands

| Command | What it does | |---|---| | suss init | Reads the project and prints the commands to run, or walks you through them | | suss extract | Reads code into summaries, one pack per framework, client or ORM | | suss contract | Reads a declared artifact, an OpenAPI document or a SAM template, into the same summaries | | suss check | Compares every provider against every consumer and reports where the two disagree |

Two more commands read what is already on disk. suss inspect renders summaries, including --diff between two runs and --flow for one request hop by hop, and suss ask answers one question about one boundary.

The CLI reference covers every command and flag.

In a coding agent

Your agent reaches the same summaries over MCP, so it can ask what a route reaches or what writes a table before it edits either:

{
  "mcpServers": {
    "suss": { "command": "npx", "args": ["-y", "@suss/mcp", "/path/to/project"] }
  }
}

The package ships its own AGENTS.md, at node_modules/@suss/cli/AGENTS.md, so an agent working from an installed copy has the same guide the repository shows.

More

coverage

Apache 2.0. See LICENSE.