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 🙏

© 2025 – Pkg Stats / Ryan Hefner

audio-monitor

v1.1.0

Published

A web-based audio monitoring interface with input/output selection and decibel meter

Readme

Audio Monitor

A web-based audio monitoring interface that allows users to route hardware audio inputs to outputs while providing real-time decibel level visualization. Built with vanilla JavaScript and Web Audio API, served via a lightweight Node.js HTTP server.

Features

  • 🎤 Hardware Input Selection - Choose from available audio input devices
  • 🔊 Hardware Output Selection - Select audio output devices
  • 📊 Real-time Decibel Metering - Visual level meters for both input and output
  • 🎛️ Volume Control - Adjustable output volume with live preview
  • 🔴 Live Monitoring - Start/stop audio monitoring with visual feedback
  • Lightweight - No dependencies, pure vanilla JavaScript

Screenshot

Audio Monitor Interface

Installation

Prerequisites

  • Node.js (v14 or higher)
  • A modern web browser with Web Audio API support

Setup Options

  1. Use NPX:
npx audio-monitor
  1. Install the package globally (optional):
npm install -g .
audio-monitor

Command Line Options

audio-monitor [options]

Options:
  --port, -p    Port to run the server on (default: 3000)
  --host, -h    Host to run the server on (default: localhost)
  --browser, -b Open the default browser to the server URL
  --help        Show help message

Usage Examples

# Start on default port 3000
npx audio-monitor

# When installed globally
audio-monitor

# Start on custom port and open browser
audio-monitor --port 8080 --browser

# Bind to all interfaces
audio-monitor --host 0.0.0.0 --port 3000

How to Use the Interface

  1. Open the application in your web browser at http://localhost:3000 (default host/port)
  2. Grant microphone permissions when prompted by your browser
  3. Select an input device from the dropdown menu
  4. Select an output device for audio playback or use system default
  5. Click "Start Monitoring" to begin real-time audio monitoring
  6. Adjust volume using the output volume slider
  7. Monitor levels using the visual decibel meters
  8. Click "Stop Monitoring" to end the session

Browser Compatibility

  • Chrome/Edge (recommended)
  • Firefox
  • Safari (with some limitations)