Installation and Setup
- Install Node.js which can be found here https://nodejs.org/en/
- Once Node.js has been installed, open up a terminal window and run the command:
npm install -g elfenben
Once Elfenben has been installed via the npm command you now can begin running the REPL and transpiling files.
To run the REPL, open a terminal window and run the command:
elfenben
To transpile files in the current directory run the command:
elfenben yourFile.elf
To transpile files to a specific path use command:
elfenben src/yourFile.elf dist/yourFile.js
To see additional usage options run command:
elfenben -h