Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
youtube-thumbnail-api
Advanced tools
Open Source Javascript Framework to Get all size and quality thumbnail of Youtube Video from URL
Open Source Javascript Framework to Get all size and quality thumbnail of Youtube Video from URL
api.min.js
https://cdn.jsdelivr.net/npm/youtube-thumbnail-api/api.min.js
api.js
https://cdn.jsdelivr.net/npm/youtube-thumbnail-api/api.js
with NPM
$ npm i youtube-thumbnail-api
Method | Size |
---|---|
ytubethumb.set("video-url") | Pass Youtube Video Inside of function to set Youtube Video |
ytubethumb.thumb() | 120x90 |
ytubethumb.mq() | 320x180 |
ytubethumb.hq() | 480x460 |
ytubethumb.sd() | 640x480 |
ytubethumb.max() | 1280x720 & 1920x1080 |
//set youtube video
ytubethumb.set("https://www.youtube.com/watch?v=olm8XOFPSHQ");
console.log(ytubethumb.thumb());
//return 120x90 size thumbnail image
console.log(ytubethumb.mq());
//return 320x180 size thumbnail image
console.log(ytubethumb.hq());
//return 480x460 size thumbnail image
console.log(ytubethumb.sd());
//return 640x480 size thumbnail image
console.log(ytubethumb.max());
//return 1280x720 & 1920x1080 size thumbnail image
Developed by Rohit Chouhan, MIT License
FAQs
Open Source Javascript Framework to Get all size and quality thumbnail of Youtube Video from URL
The npm package youtube-thumbnail-api receives a total of 6 weekly downloads. As such, youtube-thumbnail-api popularity was classified as not popular.
We found that youtube-thumbnail-api 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.