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

sudo-play

v1.0.2

Published

Terminal powered mini games for developers. Zero graphics. Maximum pain.

Downloads

30

Readme

sudo-play 🕹️

Terminal-powered mini games for developers. Zero graphics. Maximum pain.

sudo-play is a plugin-based terminal arcade that runs entirely in your CLI. Each game is a self-contained module — challenging your developer instincts across regex, debugging, logic, and more. It's built to be fun, extensible, and dead simple to run.


Play Now

No installation required:

npx sudo-play

Or install globally to play any time:

npm install -g sudo-play
sudo-play

For local development:

npm install
npm run dev

The Idea

sudo-play was built for developers who live in the terminal. The concept is simple: a plugin-based arcade where each "game" is a TypeScript module that the engine discovers and loads automatically. You pick a game from the menu, play it, earn XP, and unlock more.

The architecture is intentionally minimal. The core engine knows nothing about individual games — it just defines a clean GameModule interface and a sandboxed GameContext that each game receives at runtime. This means anyone can add a new game by dropping a single directory into src/games/.


Games

| Game | Description | | ------------------ | ------------------------------------------------------------------------- | | 🐛 Bug Hunter | Spot the bug in a code snippet and pick the right fix. 30s per challenge. | | 🔍 Regex Arena | Write regular expressions to match patterns across 5 progressive levels. |

More games coming — contributions welcome.


How to Play

  1. Run npx sudo-play (or npm start if developing locally)
  2. Select a game from the interactive menu
  3. Read the challenge, answer with your keyboard
  4. Earn XP for correct answers — lose points for mistakes
  5. Your progress is saved automatically between sessions

Documentation

| Doc | Description | | ---------------------------------------- | ------------------------------------------------------- | | Architecture | How the engine, router, state, and plugin system work | | Adding a Game | Step-by-step guide to building your own game plugin | | Contributing | How to contribute code, games, or bug reports | | API Reference | Full GameModule and GameContext interface reference |


Tech Stack

  • Node.js + TypeScript (ESM)
  • @inquirer/prompts — interactive terminal prompts
  • chalk — terminal colours
  • tsx — dev-time TypeScript execution

License

ISC © sheikhnz