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

@probecheck/probe-engine

v0.0.1

Published

Browser-based device diagnostics engine — test webcam, microphone, keyboard, screen, mouse, speakers, and more. Zero dependencies, privacy-first.

Readme

@probecheck/probe-engine

Browser-based device diagnostics engine — test webcam, microphone, keyboard, screen, mouse, speakers, and more. Zero dependencies, privacy-first.

Part of ProbeCheck.

Features

| Module | What it tests | |--------|---------------| | webcam | Resolution, FPS, video quality, device enumeration | | microphone | Volume, sample rate, noise floor, input quality | | keyboard | All keys, N-key rollover, ghosting, response time | | screen | Resolution, DPR, HDR, dead pixel detection | | mouse | Buttons, scroll, polling rate estimation | | speaker | Audio output availability, test tone generation | | gamepad | Buttons, axes, haptic feedback | | touch | Touch events, multi-touch, gesture support | | webgl | GPU vendor, renderer, capabilities | | network | Download speed, jitter, packet loss, latency | | latency | Input latency measurement | | polling | Mouse polling rate estimation | | audio-frequency | Audio frequency sweep, tone generation |

Install

npm install @probecheck/probe-engine

Usage

import { webcamProbe, microphoneProbe, keyboardProbe } from "@probecheck/probe-engine";

// Run a webcam test
const result = await webcamProbe.run();
console.log(result.status); // "pass" | "fail" | "warning" | "unsupported"
console.log(result.details); // { width, height, fps, devices, ... }

// Run a microphone test
const micResult = await microphoneProbe.run();
console.log(micResult.details); // { sampleRate, volume, noiseFloor, ... }

// Check if a feature is supported before testing
if (keyboardProbe.isSupported()) {
  const kbResult = await keyboardProbe.run();
}

API

Every probe module follows the ProbeModule interface:

interface ProbeModule {
  type: string;
  isSupported: () => boolean;
  run: (options?: ProbeOptions) => Promise<ProbeResult>;
  stop: () => void;
}

interface ProbeResult {
  type: string;
  status: "pass" | "fail" | "warning" | "unsupported";
  summary: string;
  details: Record<string, unknown>;
  hints?: ProbeHint[];
  timestamp: number;
  duration: number;
  precision: "high" | "medium" | "low" | "estimate";
}

Options

interface ProbeOptions {
  timeout?: number;      // Timeout in ms (default: 10000)
  onProgress?: (data: unknown) => void; // Progress callback
}

Built-in Scenarios

import { scenarios, getProbeModule } from "@probecheck/probe-engine";

// Get probe types for a scenario
const videoCallProbes = scenarios["video-call"];
// → ["webcam", "microphone", "speaker", "network"]

// Run all probes in a scenario
for (const type of videoCallProbes) {
  const probe = getProbeModule(type);
  if (probe?.isSupported()) {
    const result = await probe.run();
    console.log(`${type}: ${result.status}`);
  }
}

Available scenarios: video-call, laptop, streaming, gaming, full, audio.

Browser Support

Requires modern browser APIs:

  • navigator.mediaDevices.getUserMedia (webcam, microphone)
  • KeyboardEvent / Keyboard API (keyboard)
  • Screen API (screen)
  • AudioContext (speaker, audio-frequency)
  • Gamepad API (gamepad)
  • WebGL API (webgl)
  • NetworkInformation API (network)

Works in Chrome 90+, Edge 90+, Firefox 90+, Safari 15+. Older browsers may have partial support.

Privacy

All tests run entirely in the browser. No data is sent to any server. This package has zero telemetry.

License

MIT