
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
youtube-thumbnails
Advanced tools
Get a youtube thumbnails
$ npm install youtube-thumbnails
call the module
const youthumb = require('youtube-thumbnails');
Get all the available youtube thumbnails for a given id.
The id from the youtube video you want a thumbnail from.
like "dlte2Mfg614" from https://www.youtube.com/watch?v=dlte2Mfg614
return an object, thumbnails, with all the links.
youthumb.all('dlte2Mfg614', (thumbnails) => {
console.log(thumbnails);
});
{
default: 'https://i.ytimg.com/vi/dlte2Mfg614/default.jpg',
medium: 'https://i.ytimg.com/vi/dlte2Mfg614/mqdefault.jpg',
high: 'https://i.ytimg.com/vi/dlte2Mfg614/hqdefault.jpg',
standard: 'https://i.ytimg.com/vi/dlte2Mfg614/sddefault.jpg',
maxres: 'https://i.ytimg.com/vi/dlte2Mfg614/maxresdefault.jpg'
}
Get a single youtube thumbnail link in the quality you specify.
The id from the youtube video you want a thumbnail from.
like "la9C0n7jSsI" from https://www.youtube.com/watch?v=la9C0n7jSsI
The quality on the youtube picture.
return an error if there was an error else it return a thumbnail link.
youthumb.get('la9C0n7jSsI', 'maxres', (err, thumbnail) => {
if (err)
console.log(err);
else {
console.log(thumbnail);
}
});
https://i.ytimg.com/vi/la9C0n7jSsI/maxresdefault.jpg
MIT
FAQs
Generate Urls for all thumbnails to Youtube Video
The npm package youtube-thumbnails receives a total of 49 weekly downloads. As such, youtube-thumbnails popularity was classified as not popular.
We found that youtube-thumbnails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.