youtubei.js

v2.2.3
Full-featured wrapper around YouTube's private API.
yt dl ytdl youtube youtubedl youtube-dl youtube-downloader youtube-music innertubeapi and 12 more...

lint

npx eslint ./src

test

npx jest --verbose

build

npm run build:parser-map && npm run build:proto && npm run bundle:browser && npm run bundle:browser:prod && npm run build:node

watch

npx tsc --watch

prepare

npm run build

lint:fix

npx eslint --fix ./src

build:node

npx tsc

build:proto

npx protoc --ts_out ./src/proto --proto_path ./src/proto ./src/proto/youtube.proto

bundle:browser

npx tsc --module esnext && npx esbuild ./dist/browser.js --banner:js="/* eslint-disable */" --bundle --target=chrome58 --keep-names --format=esm --sourcemap --define:global=globalThis --outfile=./bundle/browser.js --platform=browser

build:parser-map

node ./scripts/build-parser-map.js

bundle:browser:prod

npm run bundle:browser -- --outfile=./bundle/browser.min.js --minify

Metadata

  • MIT
  • Whatever
  • LuanRT
  • released 9/23/2022

Downloads

Maintainers