Socket
Socket
Sign inDemoInstall

youtube-thumbnail-grabber

Package Overview
Dependencies
8
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    youtube-thumbnail-grabber

a simple package for grabbing youtube video thumbnails


Version published
Weekly downloads
132
decreased by-20%
Maintainers
1
Install size
907 kB
Created
Weekly downloads
 

Readme

Source

youtube-thumbnail-grabber

Provides a link to all qualities of YouTube thumbnails (maximum, high quality, standard quality, default).

Install

Install with npm:

$ npm i youtube-thumbnail-grabber

Usage

There are two parameters required. The first is the YouTube link, and the second is the quality.

const grabLink = require('youtube-thumbnail-grabber')

console.log(grabLink('https://www.youtube.com/watch?v=a3ICNMQW7Ok', 'max'))

//for maximum quality pass 'max'
//for high quality pass 'hq'
//for medium quality pass 'mq'
//for standard quality pass 'sd'
//for default quality pass 'default'

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Running Tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

License

Released under the MIT License.


Keywords

FAQs

Last updated on 25 Feb 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc