Youtube Content Pack
@alvagante/youtube-content-packv2026.06.23.1
01README
Generate timestamped publishing assets from owned or user-supplied YouTube video metadata and transcripts.
02Models
@alvagante/youtube-content-pack/generatorv2026.06.23.1youtube_content_pack.ts
fn lookup(url: string, fetchOembed: boolean)
Extract a YouTube video ID and optionally fetch public oEmbed metadata
| Argument | Type | Description |
|---|---|---|
| url | string | |
| fetchOembed | boolean |
fn normalizeTranscript(transcriptText?: string, segments: array)
Normalize plain text, SRT, VTT, or structured transcript segments
| Argument | Type | Description |
|---|---|---|
| transcriptText? | string | |
| segments | array |
fn generateContentPack(title?: string, url?: string, transcriptText?: string, segments: array, tones: array, platforms: array, maxTags: number)
Generate descriptions, tags, chapters, exact quotes, social drafts, and an article from transcript input
| Argument | Type | Description |
|---|---|---|
| title? | string | |
| url? | string | |
| transcriptText? | string | |
| segments | array | |
| tones | array | |
| platforms | array | |
| maxTags | number |
fn audit(transcriptText?: string, segments: array)
Check whether supplied metadata and transcript are ready for content generation
| Argument | Type | Description |
|---|---|---|
| transcriptText? | string | |
| segments | array |
Resources
lookup(infinite)— YouTube oEmbed metadata lookup result
transcript(infinite)— Normalized transcript with optional timestamped segments
contentPack(infinite)— Generated publishing assets for a YouTube video
audit(infinite)— Readiness findings for content-pack generation
03Stats
A
100 / 100
Downloads
1
Archive size
10.7 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms
05Labels