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

sudotype

v1.0.2

Published

An interactive, high-performance terminal-based typing trainer designed to help developers and systems administrators master terminal commands, syntax, options, and shell scripts. It's a hacker-themed typing coach (similar to Monkeytype but built natively

Readme

sudotype ⚡

An interactive, high-performance terminal-based typing trainer designed to help developers and systems administrators master terminal commands, syntax, options, and shell scripts. It's a hacker-themed typing coach (similar to Monkeytype but built natively for CLI workflows).


🚀 Key Features

  • Zero-Latency Captured Input: Runs in low-level terminal Raw Mode (process.stdin.setRawMode) capturing keypresses with instant response time and no input lag.
  • Premium Retro CLI Aesthetics: Built using clean, custom ANSI escape sequences for full coloring (Green for success, White on Red for typos, Dim Grey for untyped chars).
  • Real-time Live Telemetry HUD: Displays Net WPM, Raw WPM, Accuracy (%), and a dynamically refreshing elapsed time counter.
  • Inline Shell Comment Hints: Visually aligns UNIX-style shell comments on the right side (# Hint) explaining exactly what each target command does.
  • Dynamic Progress Bar: Renders a clean progress bar showing graphical completion using unicode block chars (████████▒▒▒).
  • Instant Hot-run Dev Setup: Integrated with tsx to run TypeScript files instantly without waiting for compile runs during iteration.

🛠️ Tech Stack & Architecture

  • Language: Strictly Typed TypeScript (configured for clean ESM imports & isolatedModules / verbatimModuleSyntax).
  • Runtime: Node.js (v18+) or Bun.
  • Package Manager: pnpm.
  • Renderer: Pure ANSI screen buffer drawer (no heavy external component packages or visual stutters).

⚙️ Quick Start Guide

1. Installation via Homebrew (macOS / Linux)

Install sudotype natively on your system using Homebrew by tapping the official tap:

brew tap aegis-dev/tap
brew install sudotype

To build and install the latest master development branch directly from source:

brew install --HEAD aegis-dev/tap/sudotype

2. Global Installation (via npm / pnpm)

Install it globally using your preferred Node.js package manager:

# Using pnpm
pnpm add -g sudotype

# Using npm
npm install -g sudotype

To run it on-the-fly without a global installation:

npx sudotype

3. CLI Arguments & Options

sudotype supports standard Unix query flags. These run safely and exit with status code 0 without invoking raw terminal events or TUI drawing:

# Display the current version
sudotype --version   # or -v

# Display the usage and help menu
sudotype --help      # or -h

4. Local Development & Contributing

If you want to contribute or build/test it locally:

  1. Clone the repository and install dependencies:
    git clone https://github.com/AegisX-dev/sudotype.git
    cd sudotype
    pnpm install
  2. Run the hot-reloading development runner:
    pnpm run dev
  3. Compile the production bundle:
    pnpm run build
  4. Install your local modified package globally for testing:
    pnpm add -g .

🎮 Interactive Controls

  • Ctrl+C: Safely quits the trainer and restores your native terminal settings (reveals system cursor).
  • Ctrl+R: Resets your typing state instantly and loads the next random terminal command.
  • Backspace: Allows editing and correcting typos instantly.