You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • @user106443

    I'm pretty sure it's impossible to use the mentioned module on Espruino.

    as @maze1980 points out, because I may use ES5/ES6 things that are not implemented yet or are impractical to implement in Espruino, last but not least because of the resources on the mcs used, but also because of the way Espruino JavaScript interpreter genuinely works.

    NodeJs lives in a different context and makes therefore different presumptions. One of them is: memory is practically limit less - even more so for short periods - and code is 'compiled' into virtual machine code. These is perfect fine thinking for servers or browsers where NodeJs runs and browserified modules run.

    Transpilers can help to 'bring things down' to implemented functionality, but that covers only half the story.


Avatar for allObjects @allObjects started