This is currently in a very incomplete state, and not viable for serious use. It could, however, become usable over the following weeks.
- to be drop-in compatible with the current nodejs master
- to be very lightweight
- to provide the most minimal binding that is possible (via libuv)
- NOT to archieve Node.js performance (this is meant as a client-side, not a server-side application)
- NOT to be backwards-compatible (nodejs cutting edge and newest iOS/OS X required)
How to compile the demo app
You first need to fetch the nodejs submodule. Do so by:
git submodule init
git submodule update
Afterwards, just open
NodelikeDemo.xcodeproj, build the app and you're all set!
How to use the demo app
After each execution, the result of the global variable
_ is pasted into the TextView.
So to get the result of an addition, do:
_ = 1 + 3.2. To print a variable:
_ = JSON.stringify(process.argv).
What's working right now
require()for native modules