npm.io
0.3.1 • Published 14h ago

@polyengine/wasi

Licence
Apache-2.0
Version
0.3.1
Deps
2
Size
362 kB
Vulns
0
Weekly
0

@polyengine/wasi

WASI providers for polyengine hosts: the p2 baseline and p3 clocks, one module per semver track.

Part of polyengine, a WebAssembly Component Model host for JavaScript engines. This is the npm distribution; the same package is published to JSR as jsr:@polyengine/wasi, and the two are built from the same sources at the same version.

npm install @polyengine/wasi
import * as api from "@polyengine/wasi";

Entry points: ., ./cli, ./cli-stdio, ./clocks, ./filesystem, ./filesystem-node, ./filesystem-web, ./http, ./io, ./random, ./sockets.

ESM only, Node >= 22.14. Documentation, examples and the embedder API contract live in the repository.

Apache-2.0.