> ## Documentation Index
> Fetch the complete documentation index at: https://docs.video2ctx.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Node.js library

> Use the extraction package directly without the hosted platform.

`all-things-youtube` is the standalone TypeScript package underneath the YouTube provider adapter. Use it when you want direct extraction and will operate caching, rate limits, retries, and infrastructure yourself.

```bash theme={null}
npm install all-things-youtube
```

```ts theme={null}
import { getTranscript } from 'all-things-youtube';

const transcript = await getTranscript({
  video: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
});

console.log(transcript.text);
```

The package supports video details, tracks, transcripts, comments, end screens, channels, channel catalogs, and playlists. It requires Node.js 18 or newer and should remain server-side.

<Note>
  Choose the hosted API when you need account projects, credits, monitoring, notifications, durable jobs, trend analysis, or managed infrastructure.
</Note>
