tokwatchr 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +368 -0
- package/dist/index.d.mts +327 -0
- package/dist/index.mjs +1146 -0
- package/package.json +55 -0
- package/src/TikTokLiveDownloader.ts +794 -0
- package/src/api/client.ts +46 -0
- package/src/api/room.ts +193 -0
- package/src/api/stream.ts +76 -0
- package/src/download/ffmpeg.ts +303 -0
- package/src/download/raw-http.ts +150 -0
- package/src/errors.ts +58 -0
- package/src/index.ts +45 -0
- package/src/types.ts +155 -0
- package/src/utils/quality.ts +171 -0
- package/src/utils/template.ts +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tokwatchr",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Download TikTok livestreams. Given a username, download the livestream.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.mjs",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.mts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"src",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsdown",
|
|
25
|
+
"prepublishOnly": "tsdown",
|
|
26
|
+
"check": "biome check .",
|
|
27
|
+
"check:write": "biome check --write .",
|
|
28
|
+
"format": "biome format .",
|
|
29
|
+
"format:write": "biome format --write .",
|
|
30
|
+
"lint": "biome lint .",
|
|
31
|
+
"lint:write": "biome lint --write .",
|
|
32
|
+
"typecheck": "tsc --noEmit"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"tiktok",
|
|
36
|
+
"live",
|
|
37
|
+
"livestream",
|
|
38
|
+
"download",
|
|
39
|
+
"recorder",
|
|
40
|
+
"stream"
|
|
41
|
+
],
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@biomejs/biome": "^2.4.16",
|
|
45
|
+
"@types/bun": "latest",
|
|
46
|
+
"@types/node": "^25.9.1",
|
|
47
|
+
"tsdown": "^0.22.2"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"typescript": "^6"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"impit": "^0.14.1"
|
|
54
|
+
}
|
|
55
|
+
}
|