Yes, that'd be good - although it'd be nice if you could add that to the existing library? Alerts should be possible too (using setWatch if it works by pulling the line low?).
The modules themselves should be a cut down version of node.js (using the exports var) so you'd hope that most existing (simple) modules will just work with Espruino. As far as distribution goes, for now that is handled by the Espruino website via the Web IDE (and when I get time I plan to add support to the website for loading proper node.js modules).
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.
Yes, that'd be good - although it'd be nice if you could add that to the existing library? Alerts should be possible too (using setWatch if it works by pulling the line low?).
The modules themselves should be a cut down version of node.js (using the exports var) so you'd hope that most existing (simple) modules will just work with Espruino. As far as distribution goes, for now that is handled by the Espruino website via the Web IDE (and when I get time I plan to add support to the website for loading proper node.js modules).
For developing yourself there's a bit of info here: http://forum.espruino.com/conversations/373/#comment3917