OK so this is now working, thank you for pointing me in the right direction with the question if I had written this module myself!!!
I created a quick module to check and that was indeed loaded correctly, which made me think ahhhh I need to rename the downloaded module so that the filename matches what the Espruino is looking for, this isn't necessary using node_modules as it uses the folder name as the mapping I believe.
So it is now loading the module as expected.. Sorry for the confusion and thanks for the support.
© Espruino, powered by microcosm.
Report a problem