@blazen-dev/wasi 0.1.158
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 +31 -0
- package/index.cjs +1 -0
- package/index.d.ts +1 -0
- package/index.mjs +1 -0
- package/package.json +38 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @blazen-dev/wasi
|
|
2
|
+
|
|
3
|
+
Thin re-export alias for [`@blazen-dev/blazen-wasm32-wasi`](https://www.npmjs.com/package/@blazen-dev/blazen-wasm32-wasi) — the WASI build of the Blazen Node binding. Use it in Cloudflare Workers, Deno, or any other WASI host where you'd rather pin the WASI sidecar explicitly than rely on the umbrella `blazen` package's automatic platform resolution.
|
|
4
|
+
|
|
5
|
+
## Recommended path
|
|
6
|
+
|
|
7
|
+
Just install the umbrella package and let it resolve the right sidecar for your host:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install blazen
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The `blazen` umbrella package already pulls in `@blazen-dev/blazen-wasm32-wasi` automatically when no native binary matches the host (e.g. Cloudflare Workers, Deno, WASI runtimes). You do **not** need this alias for that case.
|
|
14
|
+
|
|
15
|
+
## When to use this alias
|
|
16
|
+
|
|
17
|
+
Install `@blazen-dev/wasi` only when you want an explicit pin on the WASI build — e.g. you're authoring a library that must run on Workers and you want the dep graph to declare that intent unambiguously, or you want to skip umbrella resolution entirely.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install @blazen-dev/wasi
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
import { /* your APIs */ } from '@blazen-dev/wasi';
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The exports are identical to `@blazen-dev/blazen-wasm32-wasi`; this package only re-exports.
|
|
28
|
+
|
|
29
|
+
## Documentation
|
|
30
|
+
|
|
31
|
+
See the main [`blazen`](https://www.npmjs.com/package/blazen) package for full API docs and usage examples.
|
package/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('@blazen-dev/blazen-wasm32-wasi');
|
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@blazen-dev/blazen-wasm32-wasi';
|
package/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@blazen-dev/blazen-wasm32-wasi';
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@blazen-dev/wasi",
|
|
3
|
+
"version": "0.1.158",
|
|
4
|
+
"description": "Blazen wasi build of the Node binding — thin re-export of @blazen-dev/blazen-wasm32-wasi for explicit installs in Cloudflare Workers / Deno / any WASI host. The umbrella `blazen` package auto-resolves the wasi sidecar without this alias; install this only if you want an explicit pin.",
|
|
5
|
+
"license": "AGPL-3.0-or-later",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "index.cjs",
|
|
8
|
+
"module": "index.mjs",
|
|
9
|
+
"types": "index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"index.cjs",
|
|
12
|
+
"index.mjs",
|
|
13
|
+
"index.d.ts"
|
|
14
|
+
],
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@blazen-dev/blazen-wasm32-wasi": "0.1.158"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://forge.blackleafdigital.com/BlackLeafDigital/Blazen"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"blazen",
|
|
27
|
+
"wasi",
|
|
28
|
+
"wasm",
|
|
29
|
+
"cloudflare-workers",
|
|
30
|
+
"deno",
|
|
31
|
+
"ai",
|
|
32
|
+
"llm",
|
|
33
|
+
"workflow"
|
|
34
|
+
],
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">= 18"
|
|
37
|
+
}
|
|
38
|
+
}
|