Swiftpack.co - jectivex/JXPod as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by jectivex.
jectivex/JXPod 0.1.13
Packaged modules for interfacing with a host environment from JavaScript
⭐️ 0
🕓 Yesterday
iOS macOS tvOS
.package(url: "https://github.com/jectivex/JXPod.git", from: "0.1.13")

JXPod

Build Status Swift5 compatible Platform

JXPod is a cross-platform framework that enables you to export properties of your Swift classes to an embedded JavaScript environment, enabling your app to provide scriptable extensions.

This project is currently an umbrella for a variety of JXPod projects. Until version 1.0.0 is release, minor version increases can contain API-breaking changes.

Browse the API Documentation.

JXPod is built on top of JXBridge, which provides a fluent way to expose Swift properties and functions to an embedded JavaScript context.

Installation

Swift Package Manager

The Swift Package Manager is a tool for managing the distribution of Swift code.

Add the following to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/jectivex/JXPod", from: "1.0.0")
]

Communication

See the planning document for a roadmap and existing feature requests.

Dependencies

  • JXBridge Bridging between JXKit and native (AGPL)
  • Jack Object scripting framework for Combine.ObservableObject (LGPL)
  • JXKit Cross-platform Swift interface to JavaScriptCore (LGPL)
  • JavaScriptCore: Cross-platform JavaScript engine (LGPL)[^1]
  • OpenCombine Cross-platform Combine implementation (MIT)

[^1]: JavaScriptCore is included with macOS and iOS as part of the embedded WebCore framework (LGPL); on Linux JXKit uses WebKit GTK JavaScriptCore.

GitHub

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

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