Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

youtube-thumbnail-grabber

yashraut362308MIT1.0.2

a simple package for grabbing youtube video thumbnails

npm, youtube, api, thumbnail, grabber, link, thumbnail link, youtube link

readme

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

<summary>Contributing</summary>

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

<summary>Running Tests</summary>

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.