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

works-on-my-machine

v0.1.0

Published

A tiny CLI that tells you why the repo works on someone else's machine but not yours.

Downloads

136

Readme

works-on-my-machine

A tiny CLI that tells you why the repo works on someone else's machine but not yours.

npm CI License: MIT Node

__        _____  __  __ __  __
\ \      / / _ \|  \/  |  \/  |
 \ \ /\ / / | | | |\/| | |\/| |
  \ V  V /| |_| | |  | | |  | |
   \_/\_/  \___/|_|  |_|_|  |_|

works on my machine?
let's find out.

Features

  • Detects Node, Vite, Docker, Python, Rust, .env, and Git project signals.
  • Checks OS, current directory, Node, npm, pnpm, Yarn, Bun, Git, and Docker.
  • Compares .env with .env.example.
  • Detects occupied dev ports such as 3000, 5173, 8000, and 8080.
  • Warns about Git dirty state, package manager lockfile mismatches, and Node version mismatches.
  • Prints a clean terminal report or machine-readable JSON.
  • Works on Linux, macOS, and Windows.

Installation

npm install -g works-on-my-machine

Usage

womm
womm doctor
womm --json
womm --verbose
womm --no-color
womm --ports 3000,5173,8080
womm version

Example Output

WORKS ON MY MACHINE REPORT

Project: my-app
Type: Node / Vite
OS: Linux 6.8.0 (x64)
Node: v20.12.2
Directory: /code/my-app

✓ package.json found
✓ pnpm installed 9.6.0
⚠ .env missing .env.example exists but .env is missing.
⚠ Port 5173 Port 5173 is already in use.
✗ Docker running Docker daemon is not reachable.

Likely problem:
.env missing: .env.example exists but .env is missing. Port 5173: Port 5173 is already in use. Docker running: Docker daemon is not reachable.

Suggested fixes:
cp .env.example .env
Stop the process using port 5173.
Start Docker and run womm again.

Supported Platforms

works-on-my-machine is built for normal terminals on:

  • Linux
  • macOS
  • Windows PowerShell, Command Prompt, Windows Terminal, and Git Bash

Roadmap

  • Detect common framework-specific required environment variables.
  • Add optional process lookup for occupied ports.
  • Add package manager install command suggestions.
  • Add Docker Compose service health checks.
  • Add plugin hooks for team-specific diagnostics.

Contributing

pnpm install
pnpm run dev
pnpm run lint
pnpm run test
pnpm run build

Keep checks small, readable, and safe when commands are missing. Cross-platform behavior matters: avoid Unix-only assumptions unless there is a Windows fallback.

License

MIT