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

@alukach/slidev-addon-live-demo

v0.1.0

Published

Embed live web apps in Slidev slides, with video fallback, zoom, crop, and multi-demo reels.

Readme

@alukach/slidev-addon-live-demo

Embed live web apps in Slidev slides. Each demo has a controls bar, zoom and crop, and an optional recorded video to fall back on if the live app misbehaves on stage.

Demo

Install

pnpm add @alukach/slidev-addon-live-demo
# slides.md headmatter
addons:
  - '@alukach/slidev-addon-live-demo'

<LiveDemo>

<LiveDemo src="https://your.app/page" fallback="/media/page.mp4" :scale="0.6" url />

It fills its container, so give the container a height (for example a grid cell with h-full, or class="h-100").

| Prop | Default | | | --- | --- | --- | | src | required | Page URL. Paths starting with / load from your deck's public/ folder, and respect --base. | | fallback | | Video to switch to with the bar's "Use video" button. | | scale | 1 | Render the page larger, then shrink it to fit. 0.5 shows twice as much page. | | crop | 0 | Pixels to hide on every edge, in the page's own coordinates. Useful for Storybook's padding. | | bar | true | Show the controls bar: status dot, Open ↗, video toggle. | | url | false | Show the URL in the bar. | | lazy | true | Load only when visible. Set :lazy="false" to preload, e.g. on the first slide. |

The status dot is yellow while loading, green once loaded, and red when showing the video.

<DemoReel>

Several LiveDemos on one slide, shown one at a time. Each click (→ or Space) advances to the next demo, and ← goes back. The slide only advances after the last demo. The bar has a tab per demo for jumping directly. Every iframe stays loaded, so switching is instant and page state is kept.

<DemoReel :demos="[
  { label: 'Viewer', src: 'https://…', scale: 0.6 },
  { label: 'Upload', src: 'https://…', fallback: '/media/upload.mp4' },
]" />

Each demo takes src, label, scale, crop, fallback and url, as above. DemoReel also takes at, which works like v-click's at, and lazy (default false).

Framing

The embedded app must allow being framed by your deck's origin. Check that it doesn't send X-Frame-Options: DENY, and that any CSP frame-ancestors includes the deck's domain.