quickjs-wasi-reactor 0.0.1 → 0.0.3
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 +4 -0
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# js-quickjs-wasi-reactor
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/quickjs-wasi-reactor)
|
|
4
|
+
|
|
3
5
|
> JavaScript/TypeScript harness for running QuickJS-NG in WASI reactor mode
|
|
4
6
|
|
|
5
7
|
This package provides a JavaScript/TypeScript implementation for running QuickJS-NG compiled to WebAssembly using the WASI reactor model. It includes a complete browser-compatible WASI shim and high-level API for JavaScript execution.
|
|
@@ -7,7 +9,9 @@ This package provides a JavaScript/TypeScript implementation for running QuickJS
|
|
|
7
9
|
## Related Projects
|
|
8
10
|
|
|
9
11
|
- [go-quickjs-wasi-reactor](https://github.com/aperturerobotics/go-quickjs-wasi-reactor) - Go implementation with wazero
|
|
12
|
+
- [go-quickjs-wasi](https://github.com/paralin/go-quickjs-wasi) - Go implementation for command model (blocking)
|
|
10
13
|
- [paralin/quickjs](https://github.com/paralin/quickjs) - QuickJS-NG fork with reactor build target
|
|
14
|
+
- [QuickJS-NG reactor PR](https://github.com/quickjs-ng/quickjs/pull/1307) - Upstream PR for reactor support
|
|
11
15
|
|
|
12
16
|
## Installation
|
|
13
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quickjs-wasi-reactor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "JavaScript harness for QuickJS-NG WASI reactor model",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -13,8 +13,11 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
|
+
"!**/*.tsbuildinfo",
|
|
16
17
|
"dist",
|
|
17
|
-
"qjs-wasi.wasm"
|
|
18
|
+
"qjs-wasi.wasm",
|
|
19
|
+
"README.md",
|
|
20
|
+
"LICENSE"
|
|
18
21
|
],
|
|
19
22
|
"scripts": {
|
|
20
23
|
"build": "tsc",
|