It's not really production ready at the moment - ideally Espruino's network API would change so that we could implement UDP on other platforms as well. It's a little tricky because Espruino tends to deal with characters as it gets them - whereas with UDP ideally you want to deal with each packet as it comes.
Having said all that, you can still load it straight into your projects - just enter the full URL like this:
var wifi = require("https://espruino.microcosm.app/api/v1/files/bd981df5a1734c330d37a9f8486ea8bf8d406696.js").connect(Serial, function(err) {
....
});
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.
It's not really production ready at the moment - ideally Espruino's network API would change so that we could implement UDP on other platforms as well. It's a little tricky because Espruino tends to deal with characters as it gets them - whereas with UDP ideally you want to deal with each packet as it comes.
Having said all that, you can still load it straight into your projects - just enter the full URL like this: