wasmforge 0.1.0 copy "wasmforge: ^0.1.0" to clipboard
wasmforge: ^0.1.0 copied to clipboard

WASM-native building blocks for Flutter Web: typed JS interop, capability detection, and Web Worker + SharedArrayBuffer compute with graceful fallbacks.

Changelog #

0.1.0 #

Initial release.

  • Core interop layer: typed package:web / dart:js_interop access, capability detection (isWeb, isCrossOriginIsolated, supportsWasmGc), and conditional-import fallbacks so the package is importable everywhere.
  • Concurrency module: WorkerPool for off-main-thread compute in Web Workers (dart2wasm worker entrypoints, with a dart2js fallback path) and SharedBuffer over SharedArrayBuffer + Atomics, capability-gated with automatic message-passing fallback when cross-origin isolation is unavailable.
  • Public testing toolkit (package:wasmforge/testing.dart): pure-Dart fakes usable in VM unit tests plus JS-interop mocks for browser tests.
1
likes
160
points
3
downloads

Documentation

API reference

Publisher

verified publisherkerembas.com.tr

Weekly Downloads

WASM-native building blocks for Flutter Web: typed JS interop, capability detection, and Web Worker + SharedArrayBuffer compute with graceful fallbacks.

Repository (GitHub)
View/report issues

Topics

#wasm #web #interop #workers #concurrency

License

MIT (license)

Dependencies

web

More

Packages that depend on wasmforge