If you want to use nodejs modules use nodejs, e.g. on a pc, rpi or opi.
Espruino has limited js/ts compatibility, and runs typically on hardware with very limited memory, and as such most nodejs modules are simply to big to be includes and using non-supported js/ts. Espruino typically uses modules to provide and interface for I2C/1-wire/serial chips, see https://www.espruino.com/modules/
I'm pretty sure it's impossible to use the mentioned module on Espruino.
© Espruino, powered by microcosm.
Report a problem