Skip to content

rajsite/wasm-component-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WASM Component Examples

Various WASM component examples 🎉

Dependencies

  • Node 22 LTS+
  • Either wkg or wash available in PATH
  • Wasmtime (optional, for start-wasmtime commands)
  • wasmCloud (optional, for start-wash commands)

Quick Start

npm install
npm run build

Run a specific example, such as hono-app via wasmtime serve:

npm run start-wasmtime -w examples/hono-app

JavaScript

  • js-app: Minimal JavaScript example of an HTTP Server using the fetch-event style APIs.

TypeScript

The TypeScript examples are configured to use Rollup to make it easier organize apps in multiple files and leverage existing npm packages.

Other great examples

About

Examples of WASM Components

Resources

License

Stars

Watchers

Forks