Post not yet marked as solved
Post marked as unsolved with 2 replies, 621 views
How do I use an NPM javascript package inside of a SwiftUI program? I'm trying to use functions from a package with only one javascript file inside of it for data in an app I am trying to make in SwiftUI. I know that I can use JavaScriptCore to run JavaScript code, but how can I refer to these functions inside of my project. Currently I have an empty project, and I want to use this package to display basic data on a SwiftUI View. If it helps, the package is linked here: [https://github.com/DavidAngell/Aspen-SIS#readme)