New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

youtube-player-screenshot

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-player-screenshot

Capture YouTube player screenshot and, optionally, generate markdown code for it.

latest
Source
npmnpm
Version
0.5.1
Version published
Maintainers
1
Created
Source

youtube-player-screenshot

Capture YouTube player screenshot and, optionally, generate markdown code for it.

This project was developed to make embedding what appears to be clickable YouTube players (like the one bellow) effortless and scriptable.

How to create Signal account without using personal phone number - YouTube

Features

  • Super simple to use
  • Uses trusted dependencies (chalk, clipboardy, puppeteer, etc...)
  • Very light codebase to audit (less than 100 lines)
  • Written in TypeScript

Installation

npm install youtube-player-screenshot -g

Usage

$ cd /Users/sunknudsen/Desktop

$ youtube-player-screenshot -h
Usage: youtube-player-screenshot [options]

Options:
  --url <url>            YouTube URL
  --width <width>        screenshot width (default: "1920")
  --height <height>      screenshot height (default: "1080")
  --scale <scale>        scale factor (default: "2")
  --type <type>          screenshot type (choices: "jpeg", "png", default: "png")
  --output <output>      output folder (default: "/Users/sunknudsen/Code/sunknudsen/youtube-player-screenshot")
  --filename <filename>  filename (example: "b9aMJZjZ4pw.png")
  --privacy              enable privacy-conscious mode
  --clipboard            copy markdown to clipboard
  --stdout               output markdown to stdout
  -h, --help             display help for command

--output defaults to folder in which youtube-player-screenshot is executed.

Example

$ cd /Users/sunknudsen/Desktop

$ youtube-player-screenshot --url "https://www.youtube.com/watch?v=b9aMJZjZ4pw" --scale 3 --privacy --clipboard --stdout
[![How to create Signal account without using personal phone number](how-to-create-signal-account-without-using-personal-phone-number.png)](https://www.youtube.com/watch?v=b9aMJZjZ4pw "How to create Signal account without using personal phone number")

Markdown copied to clipboard 👍

$ file how-to-create-signal-account-without-using-personal-phone-number.png
how-to-create-signal-account-without-using-personal-phone-number.png: PNG image data, 1920 x 1080, 8-bit/color RGB, non-interlaced

Keywords

cli

FAQs

Package last updated on 22 Oct 2025

Did you know?

Socket

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