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

@eng_priyabrata/pulse

v0.1.0

Published

Live health monitor for Node.js: CPU, memory, disk, API and database vitals with a built-in dashboard

Readme

pulse-vitals

Live health monitor for Node.js. It watches the machine it runs on (CPU, memory, disk), plus your API requests and database queries, raises alerts and trend warnings, and shows everything on a live dashboard that looks like a patient monitor.

Quick start

npx pulse-vitals

Open the address it prints (default http://127.0.0.1:8080). Press Ctrl+C to stop.

Use it inside your app

const pulse = require("pulse-vitals");

await pulse.start({ port: 8080 });

// Express: track every request
app.use(pulse.apiMiddleware());

// Track a database query (any async function)
const users = await pulse.trackDb("mongo", () => User.find());

// later
await pulse.stop();

require("pulse-vitals") does nothing until you call start(). PULSE never touches your app's signals or crash handling.

Options for start()

| Option | Default | Meaning | |---|---|---| | port | 8080 | Dashboard and data port | | host | 127.0.0.1 | Address to listen on (this machine only) | | token | none | Require ?token=... to view the dashboard | | allowedOrigins | [] | Extra web page origins allowed to connect (development) | | insecure | false | Allow a non-local host without a token | | quiet | true | No console output | | siren | false | Play a siren on critical alerts (needs node-wav-player) | | maxSnapshots | 5000 | Snapshots kept in memory (one per 5 seconds) | | ui | true | Serve the dashboard page |

start() returns { url, port }.

Command line

pulse-vitals --port 8080 --token secret --siren --quiet

Flags: --port, --host, --token (or PULSE_TOKEN), --allow-origin, --max-snapshots, --siren, --quiet, --no-ui, --insecure, --help.

Security

  • Listens on 127.0.0.1 only by default.
  • Refuses to listen on any other address without a token (or insecure: true).
  • Other websites cannot read the data: the connection origin is checked.
  • The dashboard shows details of your machine. Use a token before exposing it.

Good to know

  • It monitors the machine (or container) where it runs. Inside Docker or Kubernetes, memory and CPU can describe the host rather than the container limit.
  • History is kept in memory and is lost on restart.
  • API and database panels show "NO TRAFFIC" until apiMiddleware and trackDb are used.

License

MIT