It tries to be compatible with npm module ecosystem and supports some of the Node.js API.
WARNING: project is in development and not ready for production use.
First thing is the command line tool
runtime-cli, it will add
runtime command to the shell. Type
runtime to get full usage help.
npm install runtime-cli -g
Make sure QEMU is installed, it enables running applications locally.
brew install qemu # OSX sudo apt-get install qemu # Ubuntu
Create new project and add
index.js entry point file:
mkdir project cd project npm init npm install runtimejs --save echo "console.log('ok')" > index.js
Run project locally in QEMU:
That's it, it should start and print
ok in the console.
Optionally you can let it watch directory for changes and restart QEMU automatically:
Apache License, Version 2.0