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

create-sveltekitslides

v0.1.0

Published

Scaffold a SvelteKit slide deck: above-the-fold slide, scroll-down rehearsal notes, presentation timer, pace bar, QR code, optional phone-laptop sync. Walks you through a presenter interview and bakes the answers into a PROMPT.md so an LLM can finish draf

Readme

create-sveltekitslides

Scaffold a SvelteKit slide deck — the kind you can rehearse in the browser and project at a real conference — in a few keystrokes.

npm create sveltekitslides@latest my-talk

You're walked through a presenter interview (length, audience, central claim, sections, demos, risks) and a working SvelteKit project drops onto disk. The interview answers are baked into a PROMPT.md so an LLM (Claude, Cursor, etc.) can read it and finish drafting src/lib/outline.js for you.

What you get

A SvelteKit static site where every slide is a long, scrollable page:

  • Above the fold — the projected slide. Title, gist, bullets or code, pace bar at the bottom, QR code in the corner.
  • Below the fold — rehearsal notes for that slide. Markdown, scrollable, invisible from the projector. Safe place to talk yourself through the beat without putting it on screen.

That's the design philosophy: the slide and the speaker notes live at the same URL. Share the link, scroll for the long version, project the top half for the talk.

Built in

  • Wheel + touch swipe + arrow keys for slide nav
  • Vertical scroll reveals notes, never advances the slide
  • 30-min (or whatever you said) presentation timer in the header, localStorage-persisted
  • Pace bar across the bottom — section ticks, current-slide window, live clock marker. Click anywhere to jump.
  • QR code on every slide, encoded with window.location.origin so it works on localhost:5173 during rehearsal and your domain when deployed
  • View-transition crossfade between slides (back/forward direction-aware)
  • B to black the screen for Q&A, ? for keymap, n to toggle rehearsal notes inline, g to jump-to-slide picker
  • /presenter popout — current slide preview, next slide preview, notes, and timer in one window. Drive from your phone, project the main window.
  • Print stylesheet → Cmd-P produces a one-pager handout (slides + notes collapsed) you can hand out or PDF
  • Optional PartyKit sync — phone drives, laptop projects, both stay on the same slide. (Skip it and the site still works offline.)
  • Bundled qrgen Rust binary — generate static SVG QR codes for posters, handouts, or to bake into the deck as static/qr.svg

How it relates to create-sveltekitbook

This package is create-sveltekitbook's sibling. Both ship a SvelteKit project with a single outline.js driving every page. The book format is for long-form, reader-driven content. The slides format is for twenty- to forty-minute talks where the speaker is in the room. Same gestures library, same markdown helper, same scroll model. Different chrome.

The presenter interview

Before any files land, you're asked:

  1. Talk length in minutes
  2. Audience (who's in the room — one line)
  3. Central claim of the talk
  4. Section breakdown (labels and per-section budgets)
  5. Demos planned — live, recorded, or both
  6. What could go wrong, and your fallback
  7. Single takeaway you want them to leave with
  8. Anticipated Q&A — questions you want to be ready for

The answers are written verbatim into PROMPT.md at the project root. Open the project in Claude Code or Cursor and ask it to fill in src/lib/outline.js from the prompt — it has everything it needs.

After scaffolding

cd my-talk
npm install
npm run dev

Open the URL Vite prints. The cover loads. Hit to start.

qrgen

A Rust binary that produces SVG QR codes is bundled at <project>/qrgen/. First run on a machine builds it once:

npm run qr -- "https://your-talk.example" > static/qr.svg

Subsequent invocations are instant. The runtime QrCode.svelte component still works without it (uses the qrcode npm package); the binary is for static / print / poster use cases.

Author

Andrew Gauger