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

vibe-player

v0.1.0

Published

Cinematic, provider-agnostic React video player primitives and skins.

Readme

Vibe Player

npm license React Sponsor vcode-sh

Video players are easy, right up until they are not.

vibe-player is a cinematic React player package for teams that want polished playback without inheriting someone else's product app. Files, HLS, YouTube iframe playback, compliant YouTube external handoff, captions, keyboard shortcuts, volume, quality, PiP, fullscreen, tooltips, and a clean headless path all live behind one provider-agnostic API.

Built by Vibe Code. Say hi at [email protected].

Install

npm install vibe-player
pnpm add vibe-player
bun add vibe-player
import "vibe-player/styles.css";
import { VibePlayerStage } from "vibe-player";

export function Film() {
  return (
    <VibePlayerStage
      source={{
        id: "launch-film",
        manifestUrl: "https://example.com/video/master.m3u8",
        posterUrl: "https://example.com/video/poster.jpg",
        title: "Launch film",
        type: "hls",
      }}
    />
  );
}

What You Get

  • direct MP4/WebM playback through native video
  • adaptive HLS through managed hls.js, with native fallback
  • official YouTube iframe playback
  • compliant YouTube external handoff when iframe chrome is the wrong answer
  • package-owned controls, timeline, captions, volume, quality, PiP, fullscreen
  • keyboard shortcuts and real tooltips instead of browser-default mystery meat
  • exported controller, volume, and quality helpers for custom/headless UI
  • ambient preview primitives and a neutral cinematic skin
  • media delivery audit CLI for catching bad MP4/CDN/CORS decisions early

Docs

  • Usage Guide: setup, sources, autoplay, audio, captions, headless controls, demo, and media audit.
  • Integration Guide: app contract, media rules, CORS, hooks, and replacement checklist.
  • Media Delivery Audit: CLI output, CI mode, rollout decisions, CORS credentials, and size policy.
  • Contributing: repo rules, PR shape, tests, and API changes.

Local Demo

bun run demo:vite
bun run demo:vite:packaged

The demo exercises file, HLS, YouTube iframe, and YouTube external handoff modes through the real package player. No pretend product shell required.

Media Audit

npx --package vibe-player vibe-player-media-audit https://cdn.example.com/video.mp4 --origin https://app.example.com

Use this before blaming the player for a slow, frozen, non-faststart, CORS-bent MP4. The CLI checks range delivery, MP4 moov/mdat ordering, CORS, size, and direct-file rollout readiness.

Sponsor

If Vibe Player saves you from writing this stack again, consider sponsoring Vibe Code: github.com/sponsors/vcode-sh

License

Apache-2.0