-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.43 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "youtube-transcript-api-js",
"version": "3.0.2",
"description": "A lightweight JavaScript API for retrieving transcripts and subtitles from YouTube videos. Works with both manual and auto-generated captions without requiring API keys or browser automation tools like Selenium.",
"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.mjs"
}
},
"sideEffects": false,
"scripts": {
"build": "tsup && cp youtube-transcript-api-js/cli.js dist/",
"build:tsc": "tsc && cp youtube-transcript-api-js/cli.js dist/",
"dev": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint youtube-transcript-api-js/**/*.ts",
"lint:fix": "eslint youtube-transcript-api-js/**/*.ts --fix",
"format": "prettier --write youtube-transcript-api-js/**/*.ts",
"cli": "node dist/cli.js",
"prepublishOnly": "npm run build",
"release": "npm run build && changeset publish"
},
"bin": {
"youtube-transcript-api": "./dist/cli.js"
},
"keywords": [
"youtube",
"transcript",
"subtitle",
"subtitles",
"api",
"javascript",
"typescript",
"cli",
"auto-generated",
"translation",
"srt",
"webvtt",
"json"
],
"author": "Rajat Mehra",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rajat-mehra05/youtube-transcript-api-js.git"
},
"homepage": "https://github.com/rajat-mehra05/youtube-transcript-api-js#readme",
"bugs": {
"url": "https://github.com/rajat-mehra05/youtube-transcript-api-js/issues"
},
"dependencies": {
"axios": "^1.13.6",
"commander": "^14.0.3",
"fast-xml-parser": "^5.5.8",
"html-entities": "^2.6.0",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.6"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"tsup": "^8.5.1",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
]
}