RPJSContext adds a bunch of functionality like a CommonJS module require implementation (that supports native classes), easier JavaScript file evaluation and some of the functionality you would expect in a browser or Node.js environment like:
- a request-promise-like web request API
- setTimeout
- promises via rsvp.js
- generators via regenerator
To run the example project; clone the repo, and run pod install
from the Example directory first.
RPJSContext requires at least iOS 8.0 and OS X 10.10.
RPJSContext is available through CocoaPods, to install it simply add the following line to your Podfile:
pod "RPJSContext"
RPJSContext is available under the MIT license. See the LICENSE file for more info.