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

@sponsoredai/cli

v0.2.13

Published

Local-first CLI and overlay for sponsored AI credits and cash-out while Claude Code and Codex wait.

Readme

SAI CLI

Earn sponsor-funded AI credits or cash-out eligible balance while Claude Code and Codex wait. SAI is a local-first terminal wrapper and desktop overlay; your prompts, code, logs, and output stay on your machine.

Open-source client (AGPL-3.0): https://github.com/TheSacud/sponsoredai-public

Install SAI from npm:

npm install -g @sponsoredai/cli

Then run your agent through SAI:

sai codex
sai claude
sai overlay both

You do not need to run sai login first. SAI creates its local install state when it is needed. sai login is only useful if you explicitly want to print or refresh the local SAI API key used by the local gateway/dashboard flow.

Common Commands

sai codex
sai claude
sai overlay codex
sai overlay claude
sai overlay both
sai run -- npm test
sai wallet
sai config show
sai --help

Trust Boundary

SAI measures the wait, not the work.

SAI does not upload prompts, source code, terminal output, model responses, screenshots, window titles, window contents, full file paths, repository URLs, commands, or shell history.

The terminal runner measures output timing. The desktop overlay checks local window visibility and recent input before a placement can qualify. Only the allowlisted placement event reaches the backend.

Inspect the local event schema:

sai privacy schema

Read the public trust boundary:

https://sponsoredai.dev/trust

How The npm Package Works

@sponsoredai/cli is a small launcher. npm also installs one matching optional binary package for your machine:

macOS arm64 -> @sponsoredai/cli-darwin-arm64
Linux x64   -> @sponsoredai/cli-linux-x64
Windows x64 -> @sponsoredai/cli-win32-x64

When you run sai, the launcher finds that platform package and executes the bundled binary. There is no separate binary download during install.

The launcher package does not run npm lifecycle scripts during installation. It does not use preinstall, install, or postinstall; platform support is checked by the sai launcher when you run it.

Requirements

  • Node.js 18 or newer.
  • npm optional dependencies enabled.
  • macOS arm64, Linux x64, or Windows x64.

The desktop overlay release has been tested locally on Windows x64 and macOS arm64 with Claude Desktop and the Codex app. Linux remains supported for the terminal CLI package, but the desktop overlay is not claimed as a tested Linux surface for this release.

Avoid installing with --omit=optional or --no-optional, because that skips the platform binary package.

Troubleshooting

If sai says missing optional dependency, reinstall normally:

npm uninstall -g @sponsoredai/cli
npm install -g @sponsoredai/cli

If it still fails, check that npm is not omitting optional dependencies:

npm config get optional
npm config get omit

optional should not be false, and omit should not include optional.