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

@videts/vide

v0.10.5

Published

Modular, headless video player. Ads, streaming, DRM — use only what you need. Core under 3KB gzip.

Readme

Vide

CI npm gzip

Modular video player library. Use only what you need.

Documentation · Getting Started · Playground

video.js 8: ~240 KB min+gzip · vide core + HLS + UI + theme: ~10 KB (+ hls.js ~160 KB as peer dep)

<video src="video.mp4"></video>
import { createPlayer } from "@videts/vide";
import { hls } from "@videts/vide/hls";
import { vast } from "@videts/vide/vast";

const player = createPlayer(document.querySelector("video")!);
player.use(hls());
player.use(vast({ tagUrl: "https://example.com/vast.xml" }));

Explicit setup. No data attributes. No class scanning. No side effects. Web standards first — if the browser can do it, we don't reinvent it.

Features

  • Tiny — Core 3.0 KB gzip. Tree-shakeable. Each plugin is a separate import.
  • Web standards first — Proxies HTMLVideoElement. Fullscreen API, <track> subtitles, native HLS on Safari.
  • Zero dependencies — No runtime dependencies. Peer deps only for optional integrations.
  • TypeScript — Strict types throughout. Type-safe plugin data, events, and state machine.
  • Streaming — HLS and DASH with adaptive bitrate. Thin wrappers around hls.js and dashjs.
  • Advertising — VAST 4.2, VMAP scheduling, SSAI, VPAID 2.0, SIMID, Google IMA SDK bridge, OMID viewability.
  • DRM — Widevine, FairPlay, PlayReady, ClearKey. Auto-detection, retry with backoff, key status events.
  • UI — 17 headless components with optional theme. No UI / headless / themed — pick your level.
  • Frameworks — React hooks, Vue 3 composables, Svelte 5 — all first-class.

Install

npm install @videts/vide

Package is published as @videts/vide on npm. The project name is Vide.

Quick Start

<div id="player-container">
  <video src="video.mp4"></video>
</div>
import { createPlayer } from "@videts/vide";
import { ui } from "@videts/vide/ui";
import "@videts/vide/ui/theme.css";

const player = createPlayer(document.querySelector("video")!);
player.use(ui({ container: document.getElementById("player-container")! }));

See the Getting Started guide for more.

Pick Your Stack

| Stack | Start here | |-------|-----------| | Vanilla JS / TS | Getting Started | | React | React Guide | | Vue 3 | Vue Guide | | Svelte 5 | Svelte Guide | | CDN / No build tool | CDN Guide | | Migrating from video.js | Migration Guide |

Plugins

Plugins are explicit opt-in. Import only what you need.

| Plugin | What | gzip | |--------|------|-----:| | @videts/vide | Core player | 3.0 KB | | @videts/vide/vast | VAST 4.2 ads | 7.9 KB | | @videts/vide/vmap | VMAP scheduling | 8.8 KB | | @videts/vide/hls | HLS streaming | 1.4 KB | | @videts/vide/dash | DASH streaming | 1.4 KB | | @videts/vide/drm | DRM (Widevine, FairPlay, PlayReady, ClearKey) | 2.6 KB | | @videts/vide/ssai | SSAI (server-side ads) | 2.3 KB | | @videts/vide/omid | Open Measurement | 1.7 KB | | @videts/vide/simid | Interactive ads | 2.4 KB | | @videts/vide/vpaid | VPAID 2.0 ads | 2.1 KB | | @videts/vide/ima | Google IMA SDK bridge | 3.4 KB | | @videts/vide/ui | Headless UI | 5.7 KB | | @videts/vide/ui/theme.css | Default theme | 4.6 KB |

HLS and DASH plugins require hls.js (~160 KB gzip) and dashjs (~220 KB gzip) as peer dependencies. Sizes above are vide wrapper code only.

See the plugin documentation for usage examples and configuration options.

License

MIT