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

ai-port-doctor

v1.0.0

Published

Diagnose and fix port conflicts instantly - find what's using a port and kill it

Downloads

10

Readme

ai-port-doctor

Diagnose and fix port conflicts instantly. Find what's using a port and kill it.

Install

npx ai-port-doctor

What it does

  • Check what's running on any port
  • Kill processes blocking your ports
  • List all listening ports
  • Find free ports for development
  • Works on macOS, Linux, and Windows

Usage

# Check common dev ports (3000, 5173, 8080, etc.)
npx ai-port-doctor

# Check specific port
npx ai-port-doctor 3000

# Check multiple ports
npx ai-port-doctor 3000,5000,8080

# Kill process on port
npx ai-port-doctor 3000 -k

# Force kill (no confirmation)
npx ai-port-doctor 3000 -k -f

# List all listening ports
npx ai-port-doctor --list

# Find free ports
npx ai-port-doctor --suggest

# Find free port in range
npx ai-port-doctor --range 8000-9000

Example Output

🩺 Port Doctor

Checking common development ports...

  ● 3000   node (PID 12345) React/Node Dev
  ● 5173   vite (PID 23456) Vite
  ○ 4000   Free GraphQL/Phoenix
  ○ 5000   Free Flask/ASP.NET
  ○ 8000   Free Django/Python
  ○ 8080   Free Alt HTTP/Tomcat

Tip: ai-port-doctor 3000 -k  # kill process on port 3000

Kill Mode

$ npx ai-port-doctor 3000 -k

🩺 Port Doctor

🔍 Port 3000 (React/Node Dev)

  ● node (PID: 12345)
    User: yourname
    Connection: *:3000

? Kill 1 process(es) on port 3000? (y/N) y
  ✓ Killed node (PID 12345)

Options

| Flag | Description | |------|-------------| | -k, --kill | Kill processes on the port | | -f, --force | Force kill without confirmation | | -l, --list | List all listening ports | | -s, --suggest | Suggest free ports | | -r, --range <range> | Find free port in range |

Common Ports Reference

| Port | Typical Use | |------|-------------| | 3000 | React, Node.js dev servers | | 4000 | GraphQL, Phoenix | | 5000 | Flask, ASP.NET Core | | 5173 | Vite | | 5432 | PostgreSQL | | 6379 | Redis | | 8000 | Django, Python HTTP | | 8080 | Tomcat, alt HTTP | | 27017 | MongoDB |

License

MIT


Built by LXGIC Studios 🔗 GitHub · Twitter 💡 Want more free tools like this? We have 100+ on our GitHub: github.com/lxgicstudios