LuanRT
YouTube.js
TypeScript

A JavaScript client for YouTube's internal API, known as InnerTube.

Last updated Jul 8, 2026
5.0k
Stars
388
Forks
95
Issues
+5
Stars/day
Attention Score
92
Language breakdown
TypeScript 98.8%
JavaScript 1.2%
โ–ธ Files click to expand
README

[npm]: https://www.npmjs.com/package/youtubei.js [versions]: https://www.npmjs.com/package/youtubei.js?activeTab=versions [codefactor]: https://www.codefactor.io/repository/github/luanrt/youtube.js [actions]: https://github.com/LuanRT/YouTube.js/actions [discord]: https://discord.gg/syDu7Yks54


YouTube.js Logo

A JavaScript client for YouTube's internal API.
Works on Node.js, Deno, modern browsers, and more.

[Discord][discord] [CI][actions] [NPM Version][versions] [Downloads][npm] [Codefactor][codefactor]

Installation

Before installing, make sure your environment meets the prerequisites.

# NPM
npm install youtubei.js@latest

Yarn

yarn add youtubei.js@latest

Git (edge version)

npm install github:LuanRT/YouTube.js

Deno

deno add npm:youtubei.js@latest

Deno (deprecated):

import { Innertube } from 'https://deno.land/x/youtubei/deno.ts';

Basic Usage

import { Innertube } from 'youtubei.js';
const innertube = await Innertube.create(/ options /);

For detailed usage, read the YouTube.js Guide and API Documentation.

Contributing

All contributions are welcome, big or small. If you want to contribute, take a look at the issues page and our guidelines.

Contributors

Disclaimer

This project is not affiliated with, endorsed, or sponsored by YouTube or any of its affiliates or subsidiaries. All trademarks, logos, and brand names used in this project are the property of their respective owners and are used solely to describe the services provided.

As such, any usage of trademarks to refer to such services is considered nominative use. If you have any questions or concerns, please contact me.

License

Distributed under the MIT License.

(back to top)

ยฉ 2026 GitRepoTrend ยท LuanRT/YouTube.js ยท Updated daily from GitHub