wasm_interop 2.0.1
wasm_interop: ^2.0.1 copied to clipboard

This package provides a Dart wrapper for WebAssembly JavaScript API

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
6
likes
120
pub points
78%
popularity

This package provides a Dart wrapper for WebAssembly JavaScript API

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

js, meta

More

Packages that depend on wasm_interop