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 🙏

© 2024 – Pkg Stats / Ryan Hefner

yt-storyboard

v1.2.0

Published

A simple parser for YouTube storyboards

Downloads

5

Readme

yt-storyboard

A simple YouTube storyboard parser. The function accepts three parameters: A string (url) containing the YouTube storyboard spec, a boolean specifying the quality of the storyboard and the duration of the videoclip. The function returns an array with links to the storyboards.

Two of these require the (unofficial) YouTube get_video_info API, which can be found through:

http://www.youtube.com/get_video_info?video_id=9uOMectkCCs&asv=3&el=detailpage&hl=en_US

Have fun!

Installation

npm install yt-storyboard

Usage

storyboard(spec, highQuality, lengthSeconds)

Settings

spec {string}
This string is taken from the get_video_info api and can be found at storyboards.playerStoryboardSpecRenderer.spec

highQuality {boolean}
There are two types of storyboards. The high quality storyboard contains a grid of maximum 25 stills, and a low quality (which is rendered first) which contains a grid of maximum 100 stills. Set true if you want high quality and false if you want a low quality grid.

lengthSeconds {integer}
The length is taken from the get_video_info api and can be found at videoDetails.lengthSeconds

Usage example

storyboard('http://i9.ytimg.com/sb/9uOMectkCCs/storyboard3_L$L/$N.jpg?sqp=ovOX_wMGCKW2vKsF|48#27#100#10#10#0#default#rs$AOn4CLCNr0dLoPEuLTmvgQbfRHhohzQoxQ|80#45#102#10#10#10000#M$M#rs$AOn4CLCm3R4Yp_0X1CqEsnZDVTJQHwhJJg|160#90#102#5#5#10000#M$M#rs$AOn4CLAJEdtW7F-Hpv1Vp3IrGoTCTwn7TA', true, 1002)

License

MIT