Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 2.83 KB

README.md

File metadata and controls

81 lines (59 loc) · 2.83 KB

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
  • JXKit Cross-platform Swift interface to JavaScriptCore
  • JavaScriptCore: Cross-platform JavaScript engine
  • OpenCombine Cross-platform Combine implementation
  • Fair Utilities