
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
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
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.