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

slvtt

v0.3.4

Published

Superlative video thumbnail thing

Readme

slvtt

CI

Superlative Video Thumbnail Thing

Create video sprites aka thumbnails aka storyboards aka "timeline hover previews" and a WEBVTT file. Creates output suitable for the following video player plugins.

  • https://github.com/chrisboustead/videojs-vtt-thumbnails
  • https://github.com/mayeaux/videojs-vtt-thumbnails

Sample input

sample.mp4

Sample output

Sprite sheet 1: grid of video frames Sprite sheet 2: grid of video frames Sprite sheet 3: grid of video frames Sprite sheet 4: grid of video frames

vtt file describing the sheets of video frames

Software Dependencies

  • libvips
  • ffmpeg
  • ffprobe
  • nodejs

Project Requirements

  • [x] Test Driven Development
  • [x] Minimal dependencies
  • [x] Extract idividual frames
  • [x] Combine frames into a sheet
  • [x] Generate .vtt
  • [x] CI tests passing
  • [x] Published on npm

Installation

Make sure you have the above software dependencies installed. For installing node, I recommend nvm

Usage

Here is a quick guide on the two usage methods. For more details, See ./examples/

CLI

Install dependencies

npm install

Build the CLI program.

npm run build

Run the CLI to create VideoFrameSheets

./dist/cli.cjs --input ./test/fixtures/sample.mp4 --output ~/Desktop/output-example

Library

    import { create, type SLVTTOptions } from '@insanity54/slvtt';
    import { tmpdir } from 'node:os';
    import { join } from 'node:path';
    
    const inputVideo = // an absolute path to your video
    const outputDirectory = join(tmpdir(), 'slvtt-basic');

    const options: SLVTTOptions = {
        videoFilePath: inputVideo,
        outputDirectory
    };

    async function main() {
        await create(options);
        console.log(`output saved to ${outputDirectory}`)
    }

    main()

Name gripes

Naming things is hard, especially when it comes to naming the things we are generating with this library. There is no universal standard and no agreement. It's really difficult to find this sort of stuff because of that. The industry refers to these things as the following.

  • Video Storyboards
  • Timeline Hover Previews
  • Video Spritesheets
  • Preview Images
  • Contact Sheets
  • Video Thumbnails.

I don't like calling these things thumbs, stories, or sprites, because those words already mean something completely unrelated. Thumbnails are part of your hand, stories are in books, sprites are tiny mystical creatures. RIP SEO when using any of these words.

What we call it

This repository reinvents the wheel in an attempt to simplify the taxonomy.

We use VideoFrame to describe a singular, individual video frame that we captured from a video. We use VideoFrameSheet to describe a composite image consisting of rows and columns of VideoFrames.

Abbreviated in code, we use frames and sheets.