You could use the btoa function to covert before sending down the socket.
btoa
Also the ws module only supports 127 chars max for a message - that might be an issue for you..
@Wilberforce started
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.
You could use the
btoa
function to covert before sending down the socket.Also the ws module only supports 127 chars max for a message - that might be an issue for you..