Skip to main content

webassembly 0.1.1 copy "webassembly: ^0.1.1" to clipboard
webassembly: ^0.1.1 copied to clipboard

WebAssembly for Dart and Flutter: one API that runs on wasmtime on native platforms and on the browser's own WebAssembly on the web.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add webassembly

With Flutter:

 $ flutter pub add webassembly

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  webassembly: ^0.1.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:webassembly/webassembly.dart';
0
likes
160
points
73
downloads

Documentation

API reference

Publisher

verified publisherunk404.com

Weekly Downloads

WebAssembly for Dart and Flutter: one API that runs on wasmtime on native platforms and on the browser's own WebAssembly on the web.

Repository (GitHub)
View/report issues

Topics

#webassembly #wasm #wasmtime #ffi #native-assets

License

Apache-2.0 (license)

Dependencies

code_assets, ffi, hooks, logging, native_toolchain_cmake

More

Packages that depend on webassembly