• I guess he's thinking in the line of writing server side code that controls espruinos in an API-like fashion, rather than simply sending it serial commands?

    Something like

    var espruino1 = new Espruino("/dev/tty...");
    espruino1.LED1.set();
    //and maybe a simple way to wrap into custom code
    espruino1.myFunctionOnEspruinoBoard();
    
    //EDIT: a very simple implementation could do
    espruino1(function(){ LED1.set(); }); //then simply toString and send over serial
    
About