Yeah - we already do require() for built-in modules, for WizNET/CC3k, http...
For the ESP8266, though, there are some extra functionality - you mention getting a console through telnet. That's a really cool functionality, and it'd be great if that was exposed - but I'm not quite sure what the right API for that is. We'd probably want it to act like a serial port, but we'd have to deal with the possibility of there not being anything connected to telnet.
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.
Yeah - we already do require() for built-in modules, for WizNET/CC3k, http...
For the ESP8266, though, there are some extra functionality - you mention getting a console through telnet. That's a really cool functionality, and it'd be great if that was exposed - but I'm not quite sure what the right API for that is. We'd probably want it to act like a serial port, but we'd have to deal with the possibility of there not being anything connected to telnet.