Skip to main content
Module

x/wasm/examples/deno/README.md

Monorepo for Javascript WebAssembly packages by Wasmer
Go to Latest
File

Wasmer/WASI Deno examples

Hello World

This example outputs hello world in the stdout.

$ deno run --allow-read --allow-net helloworld.ts
hello world
(exit code: 0)

Filesystem

This example lists the files and directories on /.

$ deno run --allow-read --allow-net fs.ts
"./a"
"./b"
"./file"
(exit code: 0)