@margoengine/headless 0.0.0-stage → 0.1.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/LICENSE +201 -0
- package/NOTICE +4 -0
- package/README.md +768 -3
- package/dist/accumulate.d.ts +123 -0
- package/dist/accumulate.js +198 -0
- package/dist/avc-range.d.ts +15 -0
- package/dist/compare.d.ts +97 -0
- package/dist/compare.js +320 -0
- package/dist/crc32-Cc3b8qnn.js +23 -0
- package/dist/errors-CDgOgzCd.js +7 -0
- package/dist/ffmpeg-colour-Cg00HQ4H.js +15 -0
- package/dist/ffmpeg-colour.d.ts +4 -0
- package/dist/ffmpeg-files.d.ts +129 -0
- package/dist/ffmpeg-files.js +406 -0
- package/dist/ffmpeg.d.ts +159 -0
- package/dist/ffmpeg.js +372 -0
- package/dist/formats.d.ts +46 -0
- package/dist/formats.js +685 -0
- package/dist/frames.d.ts +33 -0
- package/dist/frames.js +70 -0
- package/dist/gif.d.ts +20 -0
- package/dist/gif.js +7 -0
- package/dist/index.d.ts +66 -0
- package/dist/index.js +1 -0
- package/dist/look.d.ts +553 -0
- package/dist/look.js +1277 -0
- package/dist/null.d.ts +39 -0
- package/dist/null.js +61 -0
- package/dist/readback-HJLttuJt.js +122 -0
- package/dist/readback.d.ts +55 -0
- package/dist/src-VufTH2fo.js +154 -0
- package/dist/stage.d.ts +52 -0
- package/dist/stage.js +106 -0
- package/dist/tiles.d.ts +38 -0
- package/dist/tiles.js +79 -0
- package/dist/video-mux.d.ts +77 -0
- package/dist/video.d.ts +176 -0
- package/dist/video.js +1114 -0
- package/package.json +122 -6
package/package.json
CHANGED
|
@@ -1,6 +1,122 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@margoengine/headless",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@margoengine/headless",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Render without a browser page: a stand-in canvas for core, GPU globals from the WebGPU binding you pass in, and readback to RGBA pixels or PNG bytes.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"margoengine",
|
|
7
|
+
"webgpu",
|
|
8
|
+
"headless",
|
|
9
|
+
"node",
|
|
10
|
+
"thumbnail",
|
|
11
|
+
"png"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://margoengine.com",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
20
|
+
"directory": "packages/headless"
|
|
21
|
+
},
|
|
22
|
+
"license": "Apache-2.0",
|
|
23
|
+
"author": "Scott Campbell",
|
|
24
|
+
"type": "module",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./frames": {
|
|
32
|
+
"types": "./dist/frames.d.ts",
|
|
33
|
+
"import": "./dist/frames.js"
|
|
34
|
+
},
|
|
35
|
+
"./video": {
|
|
36
|
+
"types": "./dist/video.d.ts",
|
|
37
|
+
"import": "./dist/video.js"
|
|
38
|
+
},
|
|
39
|
+
"./ffmpeg": {
|
|
40
|
+
"types": "./dist/ffmpeg.d.ts",
|
|
41
|
+
"import": "./dist/ffmpeg.js"
|
|
42
|
+
},
|
|
43
|
+
"./ffmpeg-files": {
|
|
44
|
+
"types": "./dist/ffmpeg-files.d.ts",
|
|
45
|
+
"import": "./dist/ffmpeg-files.js"
|
|
46
|
+
},
|
|
47
|
+
"./stage": {
|
|
48
|
+
"types": "./dist/stage.d.ts",
|
|
49
|
+
"import": "./dist/stage.js"
|
|
50
|
+
},
|
|
51
|
+
"./compare": {
|
|
52
|
+
"types": "./dist/compare.d.ts",
|
|
53
|
+
"import": "./dist/compare.js"
|
|
54
|
+
},
|
|
55
|
+
"./formats": {
|
|
56
|
+
"types": "./dist/formats.d.ts",
|
|
57
|
+
"import": "./dist/formats.js"
|
|
58
|
+
},
|
|
59
|
+
"./tiles": {
|
|
60
|
+
"types": "./dist/tiles.d.ts",
|
|
61
|
+
"import": "./dist/tiles.js"
|
|
62
|
+
},
|
|
63
|
+
"./accumulate": {
|
|
64
|
+
"types": "./dist/accumulate.d.ts",
|
|
65
|
+
"import": "./dist/accumulate.js"
|
|
66
|
+
},
|
|
67
|
+
"./null": {
|
|
68
|
+
"types": "./dist/null.d.ts",
|
|
69
|
+
"import": "./dist/null.js"
|
|
70
|
+
},
|
|
71
|
+
"./gif": {
|
|
72
|
+
"types": "./dist/gif.d.ts",
|
|
73
|
+
"import": "./dist/gif.js"
|
|
74
|
+
},
|
|
75
|
+
"./look": {
|
|
76
|
+
"types": "./dist/look.d.ts",
|
|
77
|
+
"import": "./dist/look.js"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"files": [
|
|
81
|
+
"dist",
|
|
82
|
+
"LICENSE",
|
|
83
|
+
"NOTICE"
|
|
84
|
+
],
|
|
85
|
+
"publishConfig": {
|
|
86
|
+
"access": "public"
|
|
87
|
+
},
|
|
88
|
+
"peerDependencies": {
|
|
89
|
+
"@margoengine/core": "^0.1.0",
|
|
90
|
+
"@margoengine/stage": "^0.1.0",
|
|
91
|
+
"@margoengine/environment": "^0.1.0",
|
|
92
|
+
"@margoengine/exporters": "^0.1.0",
|
|
93
|
+
"@margoengine/post": "^0.1.0"
|
|
94
|
+
},
|
|
95
|
+
"scripts": {
|
|
96
|
+
"build": "node ../../scripts/build-optional.js headless",
|
|
97
|
+
"test": "npm run build && node --test tests/*.test.js",
|
|
98
|
+
"test:real-ffmpeg": "npm run build && node scripts/test-real-ffmpeg.mjs && node scripts/test-real-ffmpeg-files.mjs",
|
|
99
|
+
"test:gpu": "cd ../.. && node packages/headless/tests/browser-check.mjs && node packages/headless/tests/node-check.mjs && node packages/headless/tests/transparent-gpu.mjs",
|
|
100
|
+
"prepack": "npm run build",
|
|
101
|
+
"test:gpu:gif": "cd ../.. && node packages/headless/tests/gif-gpu.mjs",
|
|
102
|
+
"test:gpu:tiles": "cd ../.. && node packages/headless/tests/tiles-gpu.mjs",
|
|
103
|
+
"test:gpu:accumulate": "cd ../.. && node packages/headless/tests/accumulate-gpu.mjs"
|
|
104
|
+
},
|
|
105
|
+
"peerDependenciesMeta": {
|
|
106
|
+
"@margoengine/stage": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"@margoengine/environment": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@margoengine/exporters": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"@margoengine/post": {
|
|
116
|
+
"optional": true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"dependencies": {
|
|
120
|
+
"@margoengine/math": "^0.1.0"
|
|
121
|
+
}
|
|
122
|
+
}
|