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

@platformatic/watt-admin

v1.2.0

Published

**Real-time monitoring and administration for your Platformatic applications**

Readme

🔌 Watt Admin

Real-time monitoring and administration for your Platformatic applications

Watt Admin is an open-source developer monitoring tool that provides instant visibility into your Node.js services. Monitor performance, analyze logs, and troubleshoot issues—all from a single, intuitive dashboard.

Watt Admin Dashboard

✨ Features

📊 Performance Metrics

  • Memory tracking: RSS, heap usage, new/old space allocation with interactive charts
  • CPU monitoring: Real-time CPU and event loop utilization
  • Latency analysis: P90, P95, P99 percentiles at a glance
  • Request rates: Monitor requests per second across all services

📝 Centralized Logging

  • View logs from all services in one place
  • Filter by service or log level
  • Toggle between formatted and raw JSON views
  • Export logs for further analysis

🎯 Service Management

  • Monitor service status at a glance
  • Drill down into individual service metrics
  • Compare performance across services
  • Restart services directly from the dashboard

🔥 Profiling & Recording (New!)

  • CPU profiling: Capture flame graphs to identify performance bottlenecks
  • Heap profiling: Analyze memory allocation patterns
  • Offline analysis: Generate self-contained HTML bundles for sharing and review
  • Recording mode: Capture metrics and profiles over time for post-mortem analysis

🚀 Quick Start

Using npx (Recommended)

Launch Watt Admin with a single command:

npx wattpm admin

The dashboard will automatically discover your running Platformatic runtimes and open at http://localhost:4042.

Installation

Install globally for convenient access:

npm install -g @platformatic/watt-admin

Then run:

watt-admin

💡 Usage

Basic Usage

When you run watt-admin, it automatically discovers all available Platformatic runtimes:

$ watt-admin
Select a runtime: (Use arrow keys)
❯ my-app (PID: 12345) (Started at 3/10/2025, 10:00:00 AM)
  api-service (PID: 54321) (Started at 3/10/2025, 9:30:00 AM)

If only one runtime is running, it will be selected automatically.

Custom Port

Run Watt Admin on a different port:

watt-admin --port 4321

Recording Mode

Capture metrics and profiling data for offline analysis:

# Profile CPU usage
watt-admin --record --profile cpu

# Profile heap allocation
watt-admin --record --profile heap

When recording, press Ctrl+C to stop. Watt Admin will:

  1. Collect all metrics and profiling data
  2. Generate a self-contained HTML bundle
  3. Automatically open the bundle in your browser

The generated HTML file contains everything you need for offline analysis—perfect for sharing with your team or reviewing later.

🏗️ Development

Prerequisites

  • Node.js 18 or higher
  • A running Platformatic runtime to monitor

Setup

git clone https://github.com/platformatic/watt-admin.git
cd watt-admin
npm install
cp .env.sample .env

Development Mode

Auto-reload both backend and frontend on changes:

npm run dev

Build

npm run build

Run Tests

# Run all tests
npm test

# Run specific test suites
npm run test:cli        # CLI tests
npm run test:backend    # Backend tests
npm run test:frontend   # Frontend tests
npm run test:e2e        # End-to-end tests

Project Structure

watt-admin/
├── cli.js              # CLI entry point
├── lib/                # Core CLI functionality
├── web/
│   ├── backend/        # Fastify API server
│   ├── frontend/       # React dashboard
│   └── composer/       # Platformatic Gateway
├── watt.json           # Wattpm configuration
└── test/               # Test suites

🎯 Use Cases

Development Workflow

Monitor your application while developing locally. Instantly see the impact of code changes on performance.

Debugging Performance Issues

Use CPU and heap profiling to identify bottlenecks and memory leaks before they reach production.

Team Collaboration

Generate offline HTML bundles to share performance data and profiling results with your team.

Learning and Optimization

Understand how your services behave under load and optimize based on real data.

🔗 Related Tools

For production monitoring and observability, check out Platformatic Console—the intelligent command center for Platformatic Cloud deployments.

📚 Documentation

🤝 Contributing

Contributions are welcome! Please check out our contributing guidelines to get started.

📄 License

Apache-2.0 License - see LICENSE for details.

🙋 Support


Built with ❤️ by the Platformatic team