Swift Package wrapper for typescript-go XCFramework. This package allows you to use TypeScript code in your Swift projects through a bridging framework.
Add this package to your Swift project using Swift Package Manager.
- In Xcode, select File → Add Package Dependencies...
- Enter the repository URL:
https://github.com/zshannon/typescript-go-swift
- Select the version you want to use
- Click Add Package
Add the package as a dependency in your Package.swift
file:
dependencies: [
.package(url: "https://github.com/zshannon/typescript-go-swift", from: "0.1.2")
]
Then add it to your target's dependencies:
.target(
name: "YourTarget",
dependencies: [
.product(name: "SwiftTSGo", package: "typescript-go-swift")
]
)
Import the package in your Swift files:
import SwiftTSGo
MIT License - see LICENSE file for details.
This is a binary distribution wrapper for typescript-go.