Skip to content
An AssemblyScript API layer for WASI system calls.
TypeScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assembly Update for AssemblyScript 0.9 Jan 27, 2020
.gitignore up Mar 27, 2019
LICENSE Add LICENSE Oct 1, 2019
README.md Rename wasa to as-wasi Dec 3, 2019
bindings.json Update the bindings list Jun 13, 2019
package.json Update for AssemblyScript 0.9 Jan 27, 2020
yarn.lock Update for AssemblyScript 0.9 Jan 27, 2020

README.md

An AssemblyScript layer for the WebAssembly System Interface (WASI)

WASI is an API providing access to the external world to WebAssembly modules.

as-wasi is an effort to expose the WASI standard set of system calls to AssemblyScript.

Usage

Example usage of the Console and Environ classes:

import { Console, Environ } from "../node_modules/as-wasi/assembly";

let env = new Environ();
let home = env.get("HOME")!;
Console.log(home);
You can’t perform that action at this time.