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

occidere

v0.1.0

Published

Understand and manage services running on local ports.

Readme

occidere

occidere tells you what is listening on a local port and lets you deal with it without looking up the right lsof, ss, or netstat command.

$ occidere 3000
Project  alishan.dev
Port     3000
Process  node
PID      28812
Path     /Users/you/projects/alishan-dev
Address  *:3000
Status   Running

commands

occidere 3000          # show what is using port 3000
occidere info 3000     # same as above
occidere list          # list listening TCP ports
occidere open 3000     # open the service in your browser
occidere kill 3000     # ask before stopping the process
occidere kill 3000 -f  # skip the prompt and force the process to stop if needed

Project names come from the nearest package.json. If there is no package file, occidere uses the process working directory when it can.

The open command checks whether the service uses HTTP or HTTPS before launching the browser. You can set the BROWSER environment variable if you do not want to use the system default.

requirements

You need Bun 1.1 or newer.

The published CLI has no npm runtime dependencies. It only imports Bun or Node built-in modules. It still relies on tools supplied by the operating system:

| System | Commands used | | --- | --- | | macOS | lsof, open, ps | | Linux | lsof or ss, xdg-open | | Windows | netstat, tasklist, taskkill, cmd |

Most systems already include these commands. Some minimal Linux installations may need lsof or iproute2, which provides ss.

TypeScript and @types/bun are development dependencies. They are used for type checking and do not become part of the installed CLI.

local setup

bun install
bun link
occidere --help

Run the checks with:

bun test
bun run typecheck

The test suite starts its own local servers. It never needs to stop a process that it did not create.

process safety

occidere kill asks for confirmation, then sends the normal termination signal. If the process is still alive after 1.5 seconds, the command tells you to retry with --force.

--force skips confirmation. It tries a normal shutdown first and uses a forced stop only when the process refuses to exit.

exit codes

| Code | Meaning | | ---: | --- | | 0 | Success | | 1 | Runtime or system failure | | 2 | Invalid command or argument | | 3 | Nothing is listening on the requested port | | 4 | Permission denied | | 5 | The user cancelled the operation |