{ "name": "youtubei.js", "version": "2.0.0", "description": "A full-featured wrapper around YouTube's private API. Allows you to retrieve info about any video, subscribe, unsubscribe, like, dislike, comment, search, download videos/music and much more!", "main": "./dist/index.js", "browser": "./bundle/browser.js", "types": "./dist", "author": "LuanRT (https://github.com/LuanRT)", "contributors": [ "Wykerd (https://github.com/wykerd/)", "MasterOfBob777 (https://github.com/MasterOfBob777)" ], "funding": [ "https://github.com/sponsors/LuanRT" ], "directories": { "test": "./test", "typings": "./dist", "examples": "./examples", "src": "./dist/src" }, "scripts": { "test": "npm run build:node && 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:proto": "npx protoc --ts_out ./src/proto --proto_path ./src/proto ./src/proto/youtube.proto", "build:node": "npx tsc", "build:parser-map": "node ./scripts/build-parser-json.js", "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", "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", "flat": "^5.0.2", "linkedom": "^0.14.12", "undici": "^5.7.0" }, "devDependencies": { "@protobuf-ts/plugin": "^2.7.0", "@types/flat": "^5.0.2", "@types/node": "^17.0.45", "@types/user-agents": "^1.0.2", "@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", "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", "innertube", "innertubeapi", "unofficial", "downloader", "livechat", "ytmusic", "dislike", "search", "comment", "music", "like", "api" ] }