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

slides-out

v1.1.1

Published

Export your Google Slides to open formats

Readme

slides-out

Get your slides out of Google Slides and into open formats:

  • A single page markdown file with images and speaker notes
  • a web ready .html file you can publish to your own site
npx slides-out https://docs.google.com/presentation/...
Loaded: "All the reasons i love u"
Saving: slide 1
...
Saving: index.md
Done! Saved 101 slides to: 2026-05-27-all-the-reasons-i-love-u

At the time of writing Slides export to PDF fails to export some emoji, breaks some layouts, and doesn't include speaker notes. The TXT export mixes slide text and speaker notes and you lose the slides images.

slides-out drives a web browser, takes screenshots, and gives you a markdown file with an image per slide. Adversarial interop via open formats!

Getting Started

Run it via npx

npx slides-out <url-or-id>

Or, install it globally

npm install -g slides-out
slides-out <url-or-id>

Usage

slides-out <url-or-id> [options]

Arguments

  • <url-or-id>: Google Slides presentation URL or ID (Required).

Options

  • --format <format>: Output file format: markdown, md, or html (default: markdown).
  • -o, --out <dir>: Base output directory name (Optional, defaults to pub-date and slides title).
  • --pub-date <date>: ISO published date as YYYY-MM-DD, YYYY-MM, or YYYY (default: today's date).
  • --text <strategy>: Strategy for markdown slide body content: slide or speaker (default: speaker).
  • --alt-text <strategy>: Alt text strategy for embedded images: index, slide, or speaker (default: slide).
  • --max-slides <number>: Limit the number of slides to export (useful for testing/previews).
  • -h, --help: Show usage details.

Example

Extract the first 2 slides to the ./example dir. Use speaker notes as the text. Use the slide number as the image alt text.

slides-out 1p-vwbdQgK_wU4Lzj75cWnt5rxd60FQexiFR76XqP5Mg \
-o example --alt-text index --text speaker --max-slides 2

Output:

./example
├── index.md
├── slide-1.png  # 1600x900px, 115kb
└── slide-2.png  # 1600x900px, 94kb

example/index.md

# Digital Interop in the NHS

![Slide 1](slide-1.png)

I’m going to talk about digital interop in the NHS, starting with my motivation:
- the bad things that happen when it fails
- The realities of what is holding up progress
- Some ideas from academia on patterns of nation scale digital transformation.
- And then look at work that is happening here and in Catalonia.

![Slide 2](slide-2.png)

To declare my biases up front
I believe open source code, open data formats and open digital protocols are the essential ingredients for interoperability.
...
---

_Original Deck: [docs.google.com/presentation/d/1p-vwbdQgK_wU4Lzj75cWnt5rxd60FQexiFR76XqP5Mg](https://docs.google.com/presentation/d/1p-vwbdQgK_wU4Lzj75cWnt5rxd60FQexiFR76XqP5Mg/edit)_

_Published: 2026-05-28_

example/slide-1.png

Slide 1

How it works

  • Open the slides in a headless browser with Playwright.
  • Scrape speaker notes (#speakernotes) and slide visual text (SVG <text> elements).
  • Clean up DOM to hide collaborators UI. (gross. sorry, i had to.)
  • Find the bounding box of the slide background ([id*="-bg"] path)
  • Screenshot the cropped region.
  • Transition to the next slide. Repeat till we're at the end.
  • Write it all out to markdown or html.

Tests

We use Node.js's native test runner. Run the test suite:

npm test

Smaller slides

The exported slide images are uncompressed .png files. To minimize the file sizes, use pngquant (reduces file sizes as much as 70%) or imageOptim

# Install pngquant (e.g., brew install pngquant), then:
pngquant --ext .png --force --speed 1 slide-*.png