@thi.ng/wasm-api 0.17.1 → 0.17.2
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 +1 -1
- package/README.md +5 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -665,7 +665,7 @@ node --experimental-repl-await
|
|
|
665
665
|
> const wasmApi = await import("@thi.ng/wasm-api");
|
|
666
666
|
```
|
|
667
667
|
|
|
668
|
-
Package sizes (gzipped, pre-treeshake): ESM:
|
|
668
|
+
Package sizes (gzipped, pre-treeshake): ESM: 7.06 KB
|
|
669
669
|
|
|
670
670
|
**IMPORTANT:** The package includes code generators for various languages which
|
|
671
671
|
are **not** required for just using the API bridge. Hence, the usual package
|
|
@@ -695,9 +695,10 @@ directory are using this package.
|
|
|
695
695
|
|
|
696
696
|
A selection:
|
|
697
697
|
|
|
698
|
-
| Screenshot
|
|
699
|
-
|
|
700
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/zig-canvas.png" width="240"/>
|
|
698
|
+
| Screenshot | Description | Live demo | Source |
|
|
699
|
+
|:-------------------------------------------------------------------------------------------------------------------|:--------------------------------------------|:--------------------------------------------------|:-------------------------------------------------------------------------------|
|
|
700
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/zig-canvas.png" width="240"/> | Zig-based DOM creation & canvas drawing app | [Demo](https://demo.thi.ng/umbrella/zig-canvas/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/zig-canvas) |
|
|
701
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/zig-counter.png" width="240"/> | Simple Zig/WASM click counter DOM component | [Demo](https://demo.thi.ng/umbrella/zig-counter/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/zig-counter) |
|
|
701
702
|
|
|
702
703
|
## API
|
|
703
704
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/wasm-api",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.2",
|
|
4
4
|
"description": "Generic, modular, extensible API bridge, polyglot glue code and bindings code generators for hybrid JS & WebAssembly projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -141,5 +141,5 @@
|
|
|
141
141
|
"status": "alpha",
|
|
142
142
|
"year": 2022
|
|
143
143
|
},
|
|
144
|
-
"gitHead": "
|
|
144
|
+
"gitHead": "ce7be1988e43f620b90a751f056d1a2326306ee4\n"
|
|
145
145
|
}
|