wasm_ffi 2.0.2 copy "wasm_ffi: ^2.0.2" to clipboard
wasm_ffi: ^2.0.2 copied to clipboard

A wrapper for wasm which can be used as a drop-in replacement for dart:ffi for Web platform.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add wasm_ffi

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

dependencies:
  wasm_ffi: ^2.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:wasm_ffi/ffi.dart';
import 'package:wasm_ffi/ffi_utils.dart';
10
likes
0
points
612
downloads

Publisher

verified publishervm75.duckdns.org

Weekly Downloads

A wrapper for wasm which can be used as a drop-in replacement for dart:ffi for Web platform.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, http, meta, path, web

More

Packages that depend on wasm_ffi