Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeamdjs

Dart package to load JavaScript libraries that use AMD (RequireJS) in web apps.

pub.devRemove
wasm_interop

Dart wrapper for the WebAssembly JavaScript API.

pub.devRemove
ScoresHealth64 (best)41
Maintenance78 (best)0
Quality100 (best)91
Popularity2246 (best)
Community66
Compatibility100 (best)85
UsageDownloads (30 days)2.7k13k (best)
Likes817 (best)
Pub points160 / 160 (best)140 / 160
GitHub stars327 (best)
MaintenanceLatest release3.0.0, 6 weeks ago (best)2.0.1, 5 years ago
Major versions in 12 months00
Contributors11
PublisherUnverifiedUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1 (best)2
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Handles both native AMD and fallback script injection.
  • Supports async loading and global variable exposure.
  • Fully null‑safe and uses dart:js_interop.
  • Well tested with integration tests against RequireJS.
  • Enables direct interop with the WebAssembly JavaScript API on the web.
  • Supports null-safety and recent WebAssembly IDL features like 64-bit integer Globals and externref types.
Weaknesses
  • Only works on web; no support for mobile or desktop Flutter.
  • Requires manual script paths or package names; not a code generator.
  • Limited to web environments where the WebAssembly JavaScript API is available.
  • Not intended for modules requiring custom JavaScript glue code.
WarningsNoneNone
amdjs vs wasm_interop: which Flutter package should you use? | pubscout