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.
⭐️ 8
🕓 1 year 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: 8
Last commit: 50 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

JavaScriptCoreExt v0.2.0
1 year 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