Skip to content

Swift package to enable use of Node.js on iOS apps

License

Notifications You must be signed in to change notification settings

OleksiiZubko/nodejs-ios

 
 

Repository files navigation

nodejs-ios

Swift package to enable use of Node.js on iOS

Usage

import nodejs_ios

let srcPath = Bundle.main.path(forResource: "nodejs-project/main.js", ofType: "")
nodeQueue.async {
    NodeRunner.startEngine(arguments: [
        "node",
        srcPath!,
    ])
}

For a real world example app, see https://github.com/kewlbear/Inssagram.

Swift Package Manager

.package(url: "https://github.com/kewlbear/nodejs-ios.git", .branch("main")),

Credits

This package is based on the excellent work of https://code.janeasystems.com/nodejs-mobile.

License

MIT

About

Swift package to enable use of Node.js on iOS apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.8%
  • C++ 13.4%
  • Other 0.8%