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

sponsored-code

v3.2.1

Published

An ad rides your Claude Code terminal. You get paid in USDC. Run `npx sponsored-code` — installs and runs the Sponsored Code CLI (@sponsored-code/cli).

Downloads

2,146

Readme

npm downloads license sponsoredcode.com

CLI

Get paid in USDC for the status-line slot Claude Code already shows while it works.

scode shows one small, clearly-labeled ad in the Claude Code terminal UI and pays you in USDC to a Polygon wallet you connect. Everything below runs on your machine.

Running ad campaigns is a separate, brand-side workflow — it lives on the web dashboard and the @sponsored-code/sdk (with API keys built for exactly that), not the CLI.

Install

npm install -g sponsored-code
scode start

Or in one line — npx sponsored-code installs globally on first run, then runs start for you:

npx sponsored-code

scode start prompts for a Polygon wallet for USDC payouts (or pass --wallet 0x…), registers an account, and turns the slot on.

The CLI installs two interchangeable commands — scode (short) and sponsored-code. The examples below use scode; use sponsored-code anywhere if scode is already taken on your system.

Commands

Run scode help (or scode, scode --help) any time for the full list.

Earn

| command | what it does | |---|---| | scode start | Register and turn the ad slot on — prompts for your payout wallet (or --wallet 0x…). | | scode register | Create an account only, without turning the slot on. | | scode on / scode off | Resume or pause the slot. off restores stock Claude Code instantly. | | scode status | Your account, integrity check, and current slot state. | | scode earnings | USDC earned and earnings over time — opens the web view. | | scode statusline | Render the ad row (Claude Code calls this itself). Add --demo to preview it with no account. |

Account

| command | what it does | |---|---| | scode login | Sign in with Google — opens the browser to link this machine to your account (groups your machines, unlocks higher-paying ads). | | scode logout | Sign out this machine — it keeps earning anonymously to its wallet. |

Other

| command | what it does | |---|---| | scode mcp | Run an MCP server exposing campaign + analytics actions (the brand-side automation surface, alongside the SDK) to Claude or any MCP client. | | scode help | Show every command. |

Privacy

It never reads your prompts, code, file paths, or transcript — none of that is touched or sent anywhere. All it does locally is edit supported Claude Code settings, cleanly reverted by scode off.

License

Source-available — see LICENSE.