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/intent-ir

v0.3.2

Published

Intent IR for suss — the team-authored side of the loop. PRD (outcome) intent and system intent, in shapes that pair against derived behavioral summaries.

Downloads

1,213

Readme

@suss/intent-ir

The team-authored side of the loop: what the code was meant to do, in shapes that pair against the derived BehavioralSummary of what it does.

What this package is

Two citizens, discriminated by kind, both built on @suss/ir-core so intent and behaviour describe boundaries the same way:

  • System intent (kind: boundary): what one boundary should do, as named outcomes. The boundary is REST or function-call; each outcome is a response (status + body), a returns (a function/handler return value), or a throws (an error). The function-call form is what lets suss check its own non-HTTP surface.
  • Outcome intent (kind: prd): human when / expect scenarios, each with an optional link to a system-intent outcome (<intent-name>.<outcome-id>). A scenario with no link is a valid pending-link state: fully readable, not yet machine-linked.
import { IntentDocSchema, intentDocToSummary } from "@suss/intent-ir";

const doc = IntentDocSchema.parse(/* parsed YAML / JSON */);
const summary = intentDocToSummary(doc); // normalised, checker-ready

schema.ts is the authoring surface (friendly to write); summary.ts is the normalized shape the checker consumes (boundaries as ir-core BoundaryBindings, bodies as TypeShapes, one flat outcome list) plus the transform between them. source provenance (author / inferred / inferred, curated) rides along for the inference path.

The design is documented in docs/internal/proposals/intent-specs.md.

Where it sits in suss

Peer to @suss/behavioral-ir; both build on @suss/ir-core. Readers (e.g. @suss/contract-intent) parse files into IntentDoc and call intentDocToSummary; the checker pairs the result against derived code summaries.

Status

v0: REST + function-call system intent, PRD outcome intent with optional links. The checker integration and reader migration build on this.

Coverage

coverage

License

Apache-2.0