Have you seen this?
https://www.npmjs.com/package/node-espruino
Also, If you are using the esp8266 board, you can use the wiflash.sh script to flash firmware over wifi, no need for a serial connection.
@Wilberforce started
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.
Have you seen this?
https://www.npmjs.com/package/node-espruino
Also,
If you are using the esp8266 board, you can use the wiflash.sh script to flash firmware over wifi, no need for a serial connection.