{ "name": "youtubei.js", "version": "2.9.0", "description": "Full-featured wrapper around YouTube's private API. Supports YouTube, YouTube Music and YouTube Studio (WIP).", "main": "./dist/index.js", "browser": "./bundle/browser.js", "types": "./dist", "author": "LuanRT (https://github.com/LuanRT)", "funding": [ "https://github.com/sponsors/LuanRT" ], "contributors": [ "Wykerd (https://github.com/wykerd/)", "MasterOfBob777 (https://github.com/MasterOfBob777)", "patrickkfkan (https://github.com/patrickkfkan)", "akkadaska (https://github.com/akkadaska)" ], "directories": { "test": "./test", "examples": "./examples", "dist": "./dist" }, "scripts": { "test": "npx jest --verbose", "lint": "npx eslint ./src", "lint:fix": "npx eslint --fix ./src", "build": "npm run build:parser-map && npm run build:proto && npm run bundle:browser && npm run bundle:browser:prod && npm run build:node", "build:node": "npx tsc", "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", "bundle:browser:prod": "npm run bundle:browser -- --outfile=./bundle/browser.min.js --minify", "build:parser-map": "node ./scripts/build-parser-map.js", "build:proto": "npx protoc --ts_out ./src/proto --proto_path ./src/proto ./src/proto/youtube.proto", "prepare": "npm run build", "watch": "npx tsc --watch" }, "repository": { "type": "git", "url": "git+https://github.com/LuanRT/YouTube.js.git" }, "license": "MIT", "dependencies": { "@protobuf-ts/runtime": "^2.7.0", "jintr": "^0.3.1", "linkedom": "^0.14.12", "undici": "^5.7.0" }, "devDependencies": { "@protobuf-ts/plugin": "^2.7.0", "@types/jest": "^28.1.7", "@types/node": "^17.0.45", "@typescript-eslint/eslint-plugin": "^5.30.6", "@typescript-eslint/parser": "^5.30.6", "esbuild": "^0.14.49", "eslint": "^8.19.0", "eslint-plugin-tsdoc": "^0.2.16", "glob": "^8.0.3", "jest": "^28.1.3", "ts-jest": "^28.0.8", "typescript": "^4.7.4" }, "bugs": { "url": "https://github.com/LuanRT/YouTube.js/issues" }, "homepage": "https://github.com/LuanRT/YouTube.js#readme", "keywords": [ "yt", "dl", "ytdl", "youtube", "youtubedl", "youtube-dl", "youtube-downloader", "youtube-music", "youtube-studio", "innertubeapi", "innertube", "unofficial", "downloader", "livechat", "studio", "upload", "ytmusic", "search", "comment", "music", "api" ] }