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

@xoxo-labs/hangar

v0.9.0

Published

Supervisor for local and remote development servers: start them once, keep them running past the terminal that started them

Readme

@xoxo-labs/hangar

Supervisor for development servers. Register a project once, start its processes from anywhere, and let them outlive the terminal — or the coding-agent command — that started them.

This package is the hangar CLI and the server it talks to: the same program. The desktop app (Hangar for macOS) bundles this server plus a terminal UI; installed from npm you get the CLI, the HTTP/WebSocket API, and no window.

Install

npx @xoxo-labs/hangar status        # no install
npm install -g @xoxo-labs/hangar    # then: hangar status

Requires Node ≥ 24. lsof enables port detection and ps enables resource metrics; both degrade to nothing when absent.

Terminals come from node-pty, which ships prebuilt binaries for macOS and Windows. On Linux it compiles at install time, so the install script has to run — with npm ≥ 11 that means npm install -g @xoxo-labs/hangar --allow-scripts node-pty, plus python3, make and a C++ compiler on the machine. Without it the server still starts and answers, but no session can spawn.

Use

hangar add web ~/code/site --cmd "dev=pnpm dev"
hangar start web/dev --wait-port     # blocks until it is actually listening
hangar status --running
hangar logs web/dev --tail 100
hangar ports web/dev
hangar stop web/dev

Lifecycle commands are idempotent, and --json gives every command a stable envelope for scripts and agents.

A process that dies because its port was taken says so, rather than leaving you an exit code:

web/dev  exited pid:256 exit:1  port 3000 is held by pid 98910 (node), which hangar does not manage

Serving

Any command starts a local server if none is running. Run it yourself when you want to own the process or bind it somewhere other than loopback:

hangar serve                              # 127.0.0.1:4780
hangar serve --host "$(tailscale ip -4)"  # reachable on the tailnet only

Remote machines are paired explicitly and addressed with -t:

hangar target pair-code                          # on the machine being managed
hangar target add studio 100.x.y.z:4780 --code -
hangar -t studio status

Full documentation: CLI · remote machines

MIT © XOXO Labs