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

Universal JavaScript bridge for Flutter & Dart. Use any npm package directly in your projects on any platform (Desktop, Web, iOS, Android).

2.0.1 #

  • Shortened package description to meet pub.flutter-io.cn guidelines
  • Fixed angle bracket lint warnings in CLI doc comments

2.0.0 #

  • Added createFunction() API for creating JS functions without eval
  • Added getGlobal() / setGlobal() for globalThis access
  • Hybrid proxy approach — Dart callbacks passed directly to JS
  • Promise-returning callback support
  • $new, $has, $typeof, $get, $set, $toJson, $keys helper methods on JsObject
  • Eliminated all eval usage from internal APIs
  • 7 example files demonstrating Express, WebSocket, JWT, SQLite, lodash/ramda, dayjs/moment, zod/joi
  • 14 comprehensive npm package test suites (338 tests)

1.0.0 #

  • Initial release
  • Node.js engine via stdio IPC
  • Full npm package management (install, remove, update, list)
  • Dynamic proxy objects with path chaining (await obj.nested.method(args))
  • Automatic JS reference tracking with finalizer-based cleanup
  • Comprehensive error handling with typed exceptions
  • eval() for raw JavaScript evaluation
  • Works with any npm package (lodash, axios, moment, etc.)
0
likes
150
points
27
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Universal JavaScript bridge for Flutter & Dart. Use any npm package directly in your projects on any platform (Desktop, Web, iOS, Android).

Repository (GitHub)
View/report issues

Topics

#javascript #npm #bridge #cross-platform #ffi

License

MIT (license)

More

Packages that depend on flutter_js_bridger