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

react-dev-player

v1.0.2

Published

A fully customizable video player for developers with GSAP animations and HLS support.

Readme

🎥 React Dev Player A modern, high-performance, and fully customizable video player for React. Built for developers who need HLS support, GSAP animations, and a premium UI out of the box.

✨ Key Features :- Adaptive Quality Switching: Full HLS (.m3u8) support with Auto-resolution.

GSAP Powered Animations: Ultra-smooth UI transitions and interactive elements.

Smart Auto-Resume: Automatically saves and resumes playback position for every video using localStorage.

Keyboard Pro: YouTube-style shortcuts (J, K, L, M, F, and more).

Mobile Optimized: Double-tap to seek, responsive settings menu, and touch-friendly controls.

Subtitle Engine: Native .vtt support with real-time sync/delay adjustment.

Screenshot Capture: Instant frame-capture saved as PNG via Canvas API.

Picture-in-Picture (PiP): Multitask easily with native popup mode.

🚀 Installation npm install react-dev-player

(Note: Ensure you have lucide-react, gsap, and hls.js installed in your project as they are required dependencies.)

🛠 Usage

import { DevPlayer } from 'react-dev-player';

function App() { return ( <DevPlayer src="https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8" width="100%" subtitles={[ { src: '/eng.vtt', label: 'English', language: 'en' } ]} /> ); }

⌨️ Keyboard Shortcuts

Key,Action Space / K,Play / Pause F,Toggle Fullscreen M,Mute / Unmute Arrow Right,Forward 5 seconds Arrow Left,Backward 5 seconds L,Forward 10 seconds J,Backward 10 seconds Esc,Exit Fullscreen

⚙️ Props API

Prop,Type,Description src,string,Required. URL of the video (.m3u8 or .mp4). width,string,Custom width for the player (Default: 100%). subtitles,SubtitleTrack[],"Array of subtitle objects {src, label, language}."

🤝 Contributing Bhai, if you want to add more features or fix bugs, feel free to open a PR! Let's build the best video player for the dev community together.

📄 License MIT © Rohit Kumar