Skip to content

Latest commit

 

History

History
 
 

wasm_interop

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WebAssembly JS API Bindings for Dart

Upstream Specification

Overview

This package provides Dart bindings for the WebAssembly JavaScript API. It is intended to be used with standalone WebAssembly modules, i.e., modules that do not need specialized JavaScript glue code. For the latter case, Dart applications should target that glue code via dart:js or package:js instead of using this package.

Standalone WebAssembly modules could be created with:

To use WebAssembly from Dart in non-JS environments, see the wasm package.

Running tests

Release mode on all available platforms (Chrome, Firefox, Safari, and node):

$ dart test

Debug mode (DDC) on Chrome:

$ dart run build_runner test -- -p chrome