open-ultrahdr-wasm 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.
Files changed (2) hide show
  1. package/README.md +17 -0
  2. package/package.json +51 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # Open UltraHDR WASM
2
+
3
+ WebAssembly module for UltraHDR (ISO 21496-1) gain map implementation.
4
+
5
+ This is the low-level WASM package. For most use cases, use the `open-ultrahdr` package instead, which provides a higher-level TypeScript API.
6
+
7
+ ## Building
8
+
9
+ Requires Rust and wasm-pack:
10
+
11
+ ```bash
12
+ npm run build
13
+ ```
14
+
15
+ ## License
16
+
17
+ GPL-2.0-or-later
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "open-ultrahdr-wasm",
3
+ "version": "0.1.0",
4
+ "description": "UltraHDR (ISO 21496-1) gain map WASM implementation",
5
+ "author": "Adam Silverstein",
6
+ "license": "GPL-2.0-or-later",
7
+ "keywords": [
8
+ "ultrahdr",
9
+ "hdr",
10
+ "gain-map",
11
+ "iso-21496",
12
+ "wasm",
13
+ "webassembly"
14
+ ],
15
+ "homepage": "https://github.com/adamsilverstein/lib-open-ultrahdr",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/adamsilverstein/lib-open-ultrahdr.git",
19
+ "directory": "wasm"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/adamsilverstein/lib-open-ultrahdr/issues"
23
+ },
24
+ "engines": {
25
+ "node": ">=18.0.0"
26
+ },
27
+ "files": [
28
+ "pkg",
29
+ "*.md"
30
+ ],
31
+ "main": "pkg/open_ultrahdr.js",
32
+ "module": "pkg/open_ultrahdr.js",
33
+ "types": "pkg/open_ultrahdr.d.ts",
34
+ "exports": {
35
+ ".": {
36
+ "types": "./pkg/open_ultrahdr.d.ts",
37
+ "import": "./pkg/open_ultrahdr.js",
38
+ "default": "./pkg/open_ultrahdr.js"
39
+ },
40
+ "./pkg/*": "./pkg/*",
41
+ "./package.json": "./package.json"
42
+ },
43
+ "scripts": {
44
+ "build": "wasm-pack build --target web --out-dir pkg",
45
+ "build:release": "wasm-pack build --target web --out-dir pkg --release",
46
+ "test": "cargo test"
47
+ },
48
+ "publishConfig": {
49
+ "access": "public"
50
+ }
51
+ }