ytdlp-nodejs
Version:
A TypeScript wrapper for the yt-dlp executable
77 lines (76 loc) • 2 kB
JSON
{
"name": "ytdlp-nodejs",
"version": "2.3.4",
"description": "A TypeScript wrapper for the yt-dlp executable",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"ytdlp-nodejs": "./dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsup",
"test": "jest",
"lint": "eslint",
"format": "prettier --ignore-path .gitignore --write \"./src/**/*.+(js|ts|json)\"",
"download:ytdlp": "tsx ./src/scripts/downloadYtdlp.ts",
"download:ffmpeg": "tsx ./src/scripts/downloadFFmepg.ts",
"postdownload": "node ./dist/downloadYtdlp.js",
"postinstall": "node -e \"process.env.INIT_CWD !== process.cwd() && require('child_process').execSync('npm run postdownload', { 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": "git+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"
}
}