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

runpad-cli

v0.1.3

Published

Universal Dev Runner & Port Sentinel

Readme

⚡ RunPad

Universal Dev Runner & Port Sentinel

One zero-dependency command to detect stacks, resolve port locks, and run servers.

npm version npm downloads License

npx runpad-cli

The Problem

Error: listen EADDRINUSE: address already in use :::5173

Every developer encounters this daily:

  1. Open Task Manager or Activity Monitor.
  2. Run obscure netstat -ano | findstr :5173 or lsof -i :5173 commands.
  3. Manually kill the PID.
  4. Re-run npm run dev.

The RunPad Solution

RunPad inspects your workspace, detects your framework, tests the target port, terminates zombie processes upon confirmation, and boots your development server in under 50 milliseconds.


⚡ Quick Start

1. Instant Execution (Zero Install)

Run directly inside any repository without adding local files:

npx runpad-cli

2. Permanent Global CLI (Recommended)

Install once to unlock the runpad terminal command across your machine:

npm install -g runpad-cli

🕹️ Command Reference

| Command | Action | Example | | :--- | :--- | :--- | | runpad | Auto-detect stack, check target port, and launch dev server | runpad | | runpad kill <port> | Forcefully terminates the process tree locking a port | runpad kill 5173 | | runpad ports | Live audit of common development ports and active PIDs | runpad ports | | runpad -o, --open | Automatically launches your default browser | runpad -o | | runpad -h, --host | Exposes dev server to your local network / Wi-Fi | runpad -h | | runpad -p <number> | Overrides default port with custom port assignment | runpad -p 8080 | | runpad --help | Displays CLI documentation and options | runpad --help | | runpad -v, --version | Prints installed version | runpad -v |


🚀 Key Features

1. Pre-flight Port Sentinel

When you trigger runpad, it checks whether the project port is occupied before invoking child processes. If a collision is caught, it offers single-key resolution:

⚡ RunPad Engine v0.1.0 — Scanning workspace...
📂 Directory: C:\Projects\WebStore
🔍 Detected: React / Vue / Vite App
⚠️ Port Conflict: Port 5173 is currently locked by PID 14220.
👉 Kill PID 14220 to free port 5173? (Y/n): y
⏳ Freeing port 5173...
✔ Port 5173 is released and ready!
🚀 Command: npm run dev -- --open

2. Standalone Port Execution

Free any port without opening external monitors or shell tools:

runpad kill 5173
⏳ Terminating process tree for PID 14220 on port 5173...
✔ Successfully freed port 5173! (Terminated PID 14220)
🚀

3. Active Port Audit

Check all common local development ports simultaneously:

runpad ports
⚡ RunPad Sentinel — Active Port Audit:
Port 3000 : FREE
Port 3001 : FREE
Port 4200 : FREE
Port 5000 : FREE
Port 5173 : BUSY (PID: 14220)
──► runpad kill 5173
Port 8000 : FREE
Port 8080 : BUSY (PID: 9804)
──► runpad kill 8080
Port 8888 : FREE

4. Built-in Static Web Server

If an index.html file is detected without Node or build tooling, RunPad serves it instantly using a built-in native HTTP server:

runpad --open
✔ Built-in Web Server live at: http://localhost:3000

🔍 Supported Frameworks & Detection Matrix

RunPad detects project markers and maps runtime execution automatically:

| Framework / Stack | Marker | Default Port | Command Executed | | :--- | :--- | :--- | :--- | | Vite (React / Vue / Svelte) | package.json (vite) | 5173 | npm run dev -- --open | | Next.js | package.json (next) | 3000 | npm run dev | | NestJS Backend | package.json (@nestjs/core) | 3000 | npm run start:dev | | Node.js / Express | package.json | 3000 | npm run dev / npm start | | Java Spring Boot (Maven) | pom.xml | 8080 | ./mvnw spring-boot:run | | Java Spring Boot (Gradle) | build.gradle | 8080 | ./gradlew bootRun | | C# / .NET Core | *.csproj, *.sln | 5000 | dotnet run | | Python (Django) | manage.py | 8000 | python manage.py runserver | | Python (FastAPI / Flask) | main.py, app.py | 8000 | python main.py | | Static HTML / CSS / JS | index.html | 3000 | Built-in Native Web Server |


🛡️ Architecture & Cross-Platform Engine

RunPad carries zero third-party dependencies. It utilizes native Node.js core modules (net, http, child_process, and fs) to maintain a lightweight footprint:

  • Windows: Employs netstat -ano regular-expression inspection and recursive tree kills via taskkill /F /T /PID <pid>.
  • macOS & Linux: Employs POSIX socket lookups via lsof -ti :<port> and hard termination via kill -9 <pid>.

📄 License

Distributed under the MIT License. See LICENSE for details.

Engineered by VTS SPACE.