Swiftpack.co - js-play/JavaScriptCoreExt as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by js-play.
js-play/JavaScriptCoreExt 0.2.0
Extends JavaScriptCore framework in Swift to provide access to Module Loader, etc. APIs.
⭐️ 5
🕓 18 weeks ago
iOS macOS
.package(url: "https://github.com/js-play/JavaScriptCoreExt.git", from: "0.2.0")

JavaScriptCoreExt

Adds more functionality to the built-in JavaScriptCore framework by exposing some new APIs.

  • JSModuleLoaderDelegate
  • JSScript (class is not bridged, only the initializer function is exposed as JSCExtScript)
  • moduleLoaderDelegate & evaluateJSScript in JSContext

License

Apache-2.0. Check LICENSE for more info.

Copyright 2023 © DjDeveloperr, Helloyunho

GitHub

link
Stars: 5
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

JavaScriptCoreExt v0.2.0
18 weeks ago

Module was rewritten in Swift instead of bridging Objective C headers. Makes it compatible with Swift Playgrounds too.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics