@twilio/video-node-sdk 1.0.0-beta.1
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/CHANGELOG.md +409 -0
- package/FRAME_CONTRACT.md +204 -0
- package/LICENSE.md +3 -0
- package/LIFECYCLE.md +123 -0
- package/README.md +617 -0
- package/SECURITY-PRIVACY.md +25 -0
- package/dist/index.cjs +1822 -0
- package/dist/index.d.cts +1671 -0
- package/dist/index.d.mts +1671 -0
- package/dist/index.mjs +1740 -0
- package/package.json +111 -0
- package/prebuilds/darwin-x64/twilio_video_sdk_node-darwin-x64.node +0 -0
- package/prebuilds/linux-x64/twilio_video_sdk_node-linux-x64.node +0 -0
package/package.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@twilio/video-node-sdk",
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
4
|
+
"description": "Twilio Video Media Streams SDK for Node.js - Server-side access to decoded video/audio frames",
|
|
5
|
+
"homepage": "https://github.com/twilio/twilio-video-node#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/twilio/twilio-video-node/issues"
|
|
8
|
+
},
|
|
9
|
+
"main": "dist/index.cjs",
|
|
10
|
+
"module": "dist/index.mjs",
|
|
11
|
+
"types": "dist/index.d.cts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/index.d.mts",
|
|
16
|
+
"default": "./dist/index.mjs"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.cts",
|
|
20
|
+
"default": "./dist/index.cjs"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "node scripts/build.js",
|
|
26
|
+
"build:debug": "cmake-js build --debug",
|
|
27
|
+
"build:release": "cmake-js build --CDCMAKE_BUILD_TYPE=Release",
|
|
28
|
+
"rebuild": "cmake-js rebuild",
|
|
29
|
+
"clean": "cmake-js clean",
|
|
30
|
+
"package": "node scripts/prebuild.js",
|
|
31
|
+
"fetch-deps": "node scripts/fetch-deps.js",
|
|
32
|
+
"build:ts": "tsdown",
|
|
33
|
+
"docs": "typedoc",
|
|
34
|
+
"test": "vitest run",
|
|
35
|
+
"test:unit": "vitest run --exclude '**/integration.test.ts' --exclude '**/node_modules/**'",
|
|
36
|
+
"test:integration": "vitest run test/integration.test.ts",
|
|
37
|
+
"test:coverage": "vitest run --coverage --exclude '**/integration.test.ts' --exclude '**/node_modules/**'",
|
|
38
|
+
"lint": "eslint .",
|
|
39
|
+
"format": "prettier --write .",
|
|
40
|
+
"format:check": "prettier --check .",
|
|
41
|
+
"prepare": "husky",
|
|
42
|
+
"test:unit:pure": "vitest run test/frame_stream.test.ts test/remote_track.test.ts test/errors.test.ts test/room.test.ts test/participant.test.ts test/changelog_section.test.ts",
|
|
43
|
+
"typecheck": "tsc --noEmit -p tsconfig.test.json",
|
|
44
|
+
"test:soak": "node test/soak.mjs",
|
|
45
|
+
"typecheck:examples": "tsc --noEmit -p examples/tsconfig.json",
|
|
46
|
+
"check:examples": "node --check examples/audio_push.js && node --check examples/data_channel.js && node --check examples/video_mirror.js && node --check examples/virtual_camera.js && node --check examples/voice_agent.js && node --check examples/cv_object_detection.js && node --check examples/cv_face_analysis.js && node --check examples/helpers/cv-runner.js && node --check examples/helpers/cv-postprocess.js && node --check examples/helpers/draw.js && node --check examples/helpers/onnx-model.js && npm run typecheck:examples"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@eslint/js": "^10.0.1",
|
|
50
|
+
"@types/node": "^22.0.0",
|
|
51
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
52
|
+
"cmake-js": "^7.3.0",
|
|
53
|
+
"eslint": "^10.0.2",
|
|
54
|
+
"husky": "^9.1.7",
|
|
55
|
+
"lint-staged": "^16.2.7",
|
|
56
|
+
"node-addon-api": "^8.0.0",
|
|
57
|
+
"prettier": "^3.8.1",
|
|
58
|
+
"tsdown": "^0.21.1",
|
|
59
|
+
"twilio": "^5.12.1",
|
|
60
|
+
"typedoc": "^0.28.20",
|
|
61
|
+
"typescript": "^5.0.0",
|
|
62
|
+
"typescript-eslint": "^8.57.0",
|
|
63
|
+
"vitest": "^4.0.18"
|
|
64
|
+
},
|
|
65
|
+
"files": [
|
|
66
|
+
"dist",
|
|
67
|
+
"prebuilds",
|
|
68
|
+
"package.json",
|
|
69
|
+
"CHANGELOG.md",
|
|
70
|
+
"FRAME_CONTRACT.md",
|
|
71
|
+
"LIFECYCLE.md",
|
|
72
|
+
"SECURITY-PRIVACY.md"
|
|
73
|
+
],
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=24.0.0"
|
|
76
|
+
},
|
|
77
|
+
"os": [
|
|
78
|
+
"darwin",
|
|
79
|
+
"linux"
|
|
80
|
+
],
|
|
81
|
+
"cpu": [
|
|
82
|
+
"x64"
|
|
83
|
+
],
|
|
84
|
+
"keywords": [
|
|
85
|
+
"twilio",
|
|
86
|
+
"video",
|
|
87
|
+
"webrtc",
|
|
88
|
+
"media-streams",
|
|
89
|
+
"real-time",
|
|
90
|
+
"rooms",
|
|
91
|
+
"nodejs",
|
|
92
|
+
"media",
|
|
93
|
+
"audio",
|
|
94
|
+
"frames",
|
|
95
|
+
"napi"
|
|
96
|
+
],
|
|
97
|
+
"lint-staged": {
|
|
98
|
+
"*.{js,mjs,ts}": [
|
|
99
|
+
"prettier --write",
|
|
100
|
+
"eslint --fix"
|
|
101
|
+
],
|
|
102
|
+
"*.{json,md,yml,yaml}": [
|
|
103
|
+
"prettier --write"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
107
|
+
"repository": {
|
|
108
|
+
"type": "git",
|
|
109
|
+
"url": "https://github.com/twilio/twilio-video-node.git"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
Binary file
|
|
Binary file
|