wasm_interop 2.0.1 copy "wasm_interop: ^2.0.1" to clipboard
wasm_interop: ^2.0.1 copied to clipboard

Platformweb

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
14
likes
130
pub points
67%
popularity

Publisher

unverified uploader

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