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

dialkit-watt

v0.1.2

Published

Turn your DialKit knobs with Watt, the puck (and drive games or anything with a value).

Readme

dialkit-watt

Turn your page's knobs with Watt, the puck: a round dial on your desk that becomes whatever you're doing. With this, it becomes your DialKit panel: turn for the value, swipe for the next knob, tap to flip a toggle or run an action. The Mac's notch shows which knob and its value.

npm install dialkit-watt

You'll need the Watt app running on your Mac, paired with the puck.

DialKit, in React

Next to your <DialRoot />:

import { DialRoot } from "dialkit";
import { WattBridge } from "dialkit-watt/react";

<DialRoot />
<WattBridge />

It's on in development and off in production builds (enabled overrides that). It renders nothing, and waits quietly while Watt isn't running.

DialKit, anywhere else

Pass the DialStore your app already uses (each DialKit entry has its own):

import { DialStore } from "dialkit/vue"; // or "dialkit/svelte", "dialkit/solid", "dialkit/vanilla"
import { connectDialKit } from "dialkit-watt";

const disconnect = connectDialKit(DialStore);

A game

import { connectWattGame } from "dialkit-watt";

const puck = connectWattGame({
  label: "PLAYER 1",
  onInput: (e) => {
    if (e.input === "turn") paddle.angle += e.value; // degrees, clockwise
    if (e.input === "tap") serve();
  },
});
puck.setAngle(paddle.angle); // the puck draws its paddle there

Anything else

import { connectWatt } from "dialkit-watt";

const watt = connectWatt({ kind: "my-tool", onMessage: (m) => console.log(m) });
watt.send({ type: "state", value: 42 });

Only the tab you're looking at

The page tells Watt when it's the visible tab (and its title), so a DialKit page in a background tab or window never takes the puck while you're doing something else in the browser.

How it connects

The Watt app listens on ws://127.0.0.1:47824 and only accepts pages served from http://localhost or http://127.0.0.1, so a site on the internet can't drive or read the puck. Nothing leaves your Mac.

License

MIT