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

magic-video

v1.0.2

Published

Render stills and clips from shared brand primitives, fonts and theme-derived colors; today it draws every image in media/.

Readme

How it works

  1. Each package owns the composition that draws its own media, in its demo/media.tsx, built from shared primitives (magic-video/primitives: windows, code panes, sparkles, backgrounds) and colors projected from magic-theme's published palette (magic-video/brand). Packages pull those in as a devDependency; demo/ stays out of every files whitelist, so nothing here reaches a published tarball. Only the repo-wide reels (social, magic) and this package's own still live in src/compositions/.
  2. root.tsx imports each package's demo/media.tsx and registers every composition; render scripts point at its ids.
  3. Remotion renders each one into media/ at the repo root, gitignored scratch for local preview.
  4. On merge to main, CI re-renders everything and publishes to the CDN the READMEs point at, so a palette or primitive change updates every image and video without anyone remembering to.

Install

pnpm add -D magic-video

Import magic-video/primitives and magic-video/brand to build a demo video for your own repo with the same windows, code panes, and theme-derived colors this one uses.

Rendering this repo's media

pnpm --filter magic-video dev               # Remotion Studio
pnpm --filter magic-video render:all        # every asset into media/
pnpm --filter magic-video render:video-demo # this package's own reel, to out/intermediate.mp4

Each composition also has its own render:<name> script; see package.json.

CI rendering

Every push to main that touches packages/video/**, any package's demo/ composition, or packages/theme's palette (vscode/themes/**, lib/**) triggers media.yml, which reruns this same render and publishes the result to the CDN. Docs-only edits are excluded. See the workflows adoption guide for what "publish" means and what it doesn't touch here.