0.3.0 • Published 2 years ago
yt-channel-gen v0.3.0
⏰ YouTube*
Enumerate all videos from a YouTube Channel as an async iterator Written in TypeScript, compiled down to ES5 for use in any Node.js version!
💾 Installation
The package is on the NPM registry as yt-channel-gen
. Simply install it with your NPM client of choice.
🔧 Usage
// Import (CommonJS)
const { createGenerator } = require('yt-channel-gen')
// Import (ESM)
import { createGenerator } from 'yt-channel-gen'
// Create a generator
const generator = createGenerator('api key')
// Use the generator to create an async iterator
const channel = generator('channel id')