Skip to content

Latest commit

 

History

History
 
 

Example Components

Most (if not all) individual example projects are standard Javascript projects commonplace ecosystem tooling, whether for server side (NodeJS -- npm, etc) or the browser.

A brief description of the examples contained in this folder:

Example Component Description
add exports basic functionality with simple types
http-hello-world HTTP server using the wasi:http/incoming-handler, the hard way.
http-server-fetch-handler HTTP server using standards-forward fetch() event handling built into StarlingMonkey
http-server-hono HTTP server using the standards-forward Hono framework
node-fetch Performs a HTTP request using fetch()
string-reverse-upper imports functionality to build more advanced computation to export
string-reverse exports basic functionality with a slightly more involved WIT interface and more complex types
webidl-book-library Showcases WebIDL support using webidl2wit