Component · version 0.1.2

ba:sample-wasi-http-js

Sample project demonstratingu JS project targeting WASI http

InstallCLIACP

Add this component to your project:

component install ba:sample-wasi-http-js@0.1.2

Learn more about the component CLI.

Imports

I
wasi:io/poll 0.2.10
A poll API intended to let users wait for I/O events on multiple handles at once.
I
wasi:clocks/monotonic-clock 0.2.10
WASI Monotonic Clock is a clock API intended to let users measure elapsed time.
I
wasi:io/error 0.2.10
I
wasi:io/streams 0.2.10
WASI I/O is an I/O abstraction API which is currently focused on providing stream types.
I
wasi:http/types 0.2.10
This interface defines all of the types and methods for implementing HTTP Requests and Responses, both incoming and outgoing, as well as their headers, trailers, and bodies.
I
wasi:cli/stdin 0.2.10
I
wasi:cli/stdout 0.2.10
I
wasi:cli/stderr 0.2.10
I
wasi:cli/terminal-input 0.2.10
Terminal input.
I
wasi:cli/terminal-output 0.2.10
Terminal output.
I
wasi:cli/terminal-stdin 0.2.10
An interface providing an optional `terminal-input` for stdin as a link-time authority.
I
wasi:cli/terminal-stdout 0.2.10
An interface providing an optional `terminal-output` for stdout as a link-time authority.
I
wasi:cli/terminal-stderr 0.2.10
An interface providing an optional `terminal-output` for stderr as a link-time authority.
I
wasi:clocks/wall-clock 0.2.10
WASI Wall Clock is a clock API intended to let users query the current time. The name "wall" makes an analogy to a "clock on the wall", which is not necessarily monotonic as it may be reset.
I
wasi:filesystem/types 0.2.10
WASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead.
I
wasi:filesystem/preopens 0.2.10
I
wasi:random/random 0.2.10
WASI Random is a random data API.
I
wasi:http/outgoing-handler 0.2.10
This interface defines a handler of outgoing HTTP Requests. It should be imported by components which wish to make HTTP Requests.

Components

Metadata

Size16.8 MiB
Range0x00000x010C7A0A
LanguagesJavaScript
Processed Bywit-componentv0.245.1
Processed ByComponentizeJSv0.20.0