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@latestDeno (deprecated):
import { Innertube } from 'https://deno.land/x/youtubei/deno.ts';import { Innertube } from 'youtubei.js';
const innertube = await Innertube.create(/* options */);For detailed usage, read the YouTube.js Guide and API Documentation.
All contributions are welcome, big or small. If you want to contribute, take a look at the issues page and our guidelines.
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.
Distributed under the MIT License.