Hmm, interesting... So I'd actually have to provide a way to change the endpoint type as well. I'm afraid that's probably not going to get done any time soon.
However I can point you at the bits you'd have to change in the firmware to compile you own version. That itself isn't too hard - it's the making it available from JS that takes the time :)
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.
Hmm, interesting... So I'd actually have to provide a way to change the endpoint type as well. I'm afraid that's probably not going to get done any time soon.
However I can point you at the bits you'd have to change in the firmware to compile you own version. That itself isn't too hard - it's the making it available from JS that takes the time :)