JSPM

@tubealfred/cli

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 200
  • Score
    100M100P100Q84567F
  • License MIT

TubeAlfred command-line tools for YouTube video, transcript, comments, channel, playlist, and search data.

Package Exports

  • @tubealfred/cli
  • @tubealfred/cli/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tubealfred/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@tubealfred/cli

Command-line access to the TubeAlfred YouTube API.

Install

Run on demand:

npx -y @tubealfred/cli --help

Or install globally:

npm install -g @tubealfred/cli

Configuration

Set your TubeAlfred API key:

export TUBEALFRED_API_KEY=ta_live_...

Optional:

export TUBEALFRED_API_URL=https://api.tubealfred.com

Commands

tubealfred video VIDEO_ID
tubealfred transcript VIDEO_ID
tubealfred comments VIDEO_ID --count 100
tubealfred channel CHANNEL_ID_OR_HANDLE
tubealfred channel-videos CHANNEL_ID_OR_HANDLE
tubealfred search "laravel queues"
tubealfred suggestions "laravel"
tubealfred playlist PLAYLIST_ID
tubealfred resolve "https://www.youtube.com/watch?v=..."

Use --json to print raw JSON.

License

MIT