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.
Distributed under the MIT License.