{ "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!", "author": "LuanRT (https://github.com/LuanRT)", "contributors": [ "Wykerd (https://github.com/wykerd/)", "MasterOfBob777 (https://github.com/MasterOfBob777)" ], "funding": "https://ko-fi.com/luanrt", "license": "MIT", "scripts": { "test": "npx jest", "test:node": "npm run build:node && npx jest node", "test:browser": "npm run build:browser && npx jest browser", "lint": "npx eslint ./lib", "lint:fix": "npx eslint --fix ./lib", "build:types": "npx tsc", "build:parser-map": "node ./scripts/build-parser-json.js", "build:general": "npm run build:parser-map && npx esbuild ./lib/Innertube.js --banner:js=\"/* eslint-disable */\" --bundle --target=esnext --format=cjs --sourcemap", "build:node": "npm run build:general -- --outfile=./build/node.js --platform=node --external:./node_modules/* --target=node12 --define:BROWSER=false", "build:node:prod": "npm run build:node -- --minify", "build:browser": "npm run build:general -- --outfile=./build/browser.js --platform=browser --define:BROWSER=true", "build:browser:prod": "npm run build:browser -- --minify" }, "types": "./typings/lib/Innertube.d.ts", "main": "./build/node.js", "browser": "./build/browser.js", "directories": { "test": "./test", "typings": "./typings", "examples": "./examples", "lib": "./lib" }, "dependencies": { "axios": "^0.21.4", "buffer": "^6.0.3", "events": "^3.3.0", "flat": "^5.0.2", "idb": "^7.0.2", "node-forge": "^1.3.1", "protocol-buffers-encodings": "^1.1.1", "stream-browserify": "^3.0.0", "user-agents": "^1.0.778", "uuid": "^8.3.2" }, "devDependencies": { "@types/node": "^17.0.31", "esbuild": "^0.14.48", "eslint": "^8.15.0", "eslint-plugin-jsdoc": "^39.3.2", "fake-dom": "^1.0.4", "fake-indexeddb": "^4.0.0", "jest": "^28.1.0", "typescript": "^4.6.4", "xhr2": "^0.2.1", "xmlhttprequest-ssl": "^2.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/LuanRT/YouTube.js.git" }, "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" ] }