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

Pure-Dart QuickJS JavaScript runtime on dart:ffi with synchronous host callbacks. Vendored QuickJS 2024-01-13 + a C bridge with JSON marshaling.

0.1.1 #

  • Fix: append a missing path separator when resolving the package checkout from package_config.json (hosted dependencies have no trailing slash).

0.1.0 #

  • Initial release: QuickJS 2024-01-13 runtime on dart:ffi with synchronous host callbacks (NativeCallable).
  • QuickjsRuntime: eval (JSON results), registerHostFunction, setGlobal, executePendingJobs, close.
  • QuickjsFfi: flat C ABI bindings to quickjs_bridge.c (JSON marshaling).
  • tool/build_quickjs.sh builds libquickjs_bridge.so (gcc); lookup via JSR_QUICKJS_LIB, .dart_tool/package_config.json, script dir, or cwd.
0
likes
150
points
881
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart QuickJS JavaScript runtime on dart:ffi with synchronous host callbacks. Vendored QuickJS 2024-01-13 + a C bridge with JSON marshaling.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ffi

More

Packages that depend on quickjs_runtime