Just to add, it depends what you want to do, but often for this kind of thing it's easier to work with the console interface rather than against it. You can just send the JS command directly from your Mac:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just to add, it depends what you want to do, but often for this kind of thing it's easier to work with the console interface rather than against it. You can just send the JS command directly from your Mac: