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

@hydra-tv/broadcast

v0.3.3

Published

Broadcast-TV control-room components (tally lamps, timecode, transport controls, VU meters, macro keys) built on @hydra-tv/ui and @hydra-tv/tokens.

Readme

@hydra-tv/broadcast

Domain-specific components for live broadcast-TV control-room applications — insert-graphics playout controllers, video clip players, switcher macro-automation panels, and similar. Built on @hydra-tv/ui (reuses Button) and @hydra-tv/tokens.

If your app isn't a broadcast/production-control tool, you almost certainly want @hydra-tv/ui instead — nothing here is useful outside that domain, by design (that's why it's a separate package instead of living in core).

Install & setup

{ "dependencies": { "@hydra-tv/broadcast": "0.3.0", "@hydra-tv/tokens": "0.2.0" } }
import "@hydra-tv/tokens"; // once, at your app's entry point
import { Tally, TransportControls } from "@hydra-tv/broadcast";

@hydra-tv/ui is a regular dependency (not a peer) since TransportControls composes core's Button internally — you don't need to install core yourself, but you can import from it directly too if you also use generic components.

Component catalog

| Component | What it is | |---|---| | Tally | PGM (red)/PVW (green) tally lamp. Strict semantics — read this doc before using. | | BusButton | Clickable switcher bus/source key with the same tally lighting rules. | | Timecode | LED-well HH:MM:SS:FF readout; also exports framesToTc(). | | ClockCountdown | Live wall clock or countdown in an LED well. | | TransportControls | CUE ◀◀ ▶ ⏸ ■ ▶▶ (+LOOP) key cluster. | | VUMeter | Segmented dBFS audio level meter with peak hold. | | MacroKey | Programmable shot-box macro trigger key. | | StatusBar | App-bottom system status strip + live clock. |

The one rule that matters: tally semantics

Tally and BusButton's pgm (red) / pvw (green) states carry fixed, non-decorative meaning: red = program/on-air, green = preview/next, full stop. Every component and every doc in this package treats that as load-bearing — don't repurpose those two colors/states for anything else (e.g. "red = error" or "green = success") even if it seems visually convenient. Use --warn/--err/--info/--ok-text from @hydra-tv/tokens (or core's Badge) for ordinary status coloring instead.

Related state-management guidance (not enforced by the components, just a strong recommendation from the original design system): keep tally/bus state as a single app-wide source of truth, since Tally, BusButton, and any monitor-well UI you build may all read the same state simultaneously and need to update in lockstep — and drive tally/bus color changes with no CSS transition (0ms), matching how real hardware tally behaves.

Content conventions (worth following if you extend this package)

  • Tone: terse, operational, zero marketing. Labels are commands/nouns (TAKE, CUE, STOP, ARM).
  • Casing: UPPERCASE for labels/buttons/headers; mixed case only for user content (clip names, notes, log messages).
  • Numbers: timecode HH:MM:SS:FF, durations MM:SS, always with a unit suffix (-18.0 dBFS, not a bare -18.0).
  • Jargon (PGM/PVW, SDI, NDI, GPI, tally, bus, keyer, DSK, M/E, rundown, playout, stinger, lower-third/L3) is intentional — keep it.

See the playground app's rebuilt reference screens (apps/playground) for examples of these components composed into full broadcast control-room layouts.