UNPKG

ytdlp-nodejs

Version:

A TypeScript wrapper for the yt-dlp executable

72 lines (71 loc) 1.86 kB
{ "name": "ytdlp-nodejs", "version": "2.0.5", "description": "A TypeScript wrapper for the yt-dlp executable", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.js" } }, "scripts": { "build": "tsup && tsup ./src/scripts/download.ts -d ./dist --no-config --minify", "test": "jest", "lint": "eslint", "format": "prettier --ignore-path .gitignore --write \"./src/**/*.+(js|ts|json)\"", "download": "node ./dist/download.js", "postinstall": "node -e \"process.env.INIT_CWD !== process.cwd() && require('child_process').execSync('npm run download', { stdio: 'inherit' });\"", "prepare": "husky" }, "keywords": [ "yt-dlp", "youtube", "video", "download", "wrapper", "typescript", "ytdlp", "youtube downloader", "ytdlp-nodejs", "youtube-thumbnails", "typescript", "nodejs", "youtube video", "video", "video downloader" ], "author": "Rashed Iqbal", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/iqbal-rashed/ytdlp-nodejs.git" }, "bugs": { "url": "https://github.com/iqbal-rashed/ytdlp-nodejs/issues" }, "devDependencies": { "@eslint/js": "^9.23.0", "@types/jest": "^29.5.14", "@types/node": "^22.13.11", "eslint": "^9.23.0", "globals": "^16.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "ts-jest": "^29.2.6", "tsup": "^8.4.0", "tsx": "^4.19.3", "typescript": "^5.8.2", "typescript-eslint": "^8.27.0" }, "files": [ "dist/**/*" ], "engines": { "node": ">=16.0.0" } }