Ahh, interesting. I did see serialport2, but I got as far as finding out they'd changed the API for no reason at all and stopped looking :) Good to see the changes have been merged in.
Looks to me like it still uses native bindings, so would have the same issue.
Maybe you could try and make a really simple serialport hello world with electron and see if it builds ok? It may suffer from the same issues (I'm struggling to see how it wouldn't unless they build the native parts for you).
Another option would be to actually distribute an Espruino binary for windows/mac/linux, and serve the Web IDE up via HTTP. It's got a certain appeal to it ;)
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.
Ahh, interesting. I did see
serialport2
, but I got as far as finding out they'd changed the API for no reason at all and stopped looking :) Good to see the changes have been merged in.Looks to me like it still uses native bindings, so would have the same issue.
Maybe you could try and make a really simple
serialport
hello world with electron and see if it builds ok? It may suffer from the same issues (I'm struggling to see how it wouldn't unless they build the native parts for you).Another option would be to actually distribute an Espruino binary for windows/mac/linux, and serve the Web IDE up via HTTP. It's got a certain appeal to it ;)