For a project I would like to run a discrete wavelets tranform on my Bangle.js 2 watch.
Because of that, I am wondering if it is possible to install an existing npm package (namely https://www.npmjs.com/package/discrete-wavelets ) in Espruino, to make its functionality available within my JS project.
Concrete questions I am pondering about:
Is it possible at all to install an npm package in Espruino?
Which npm package size is okay for the Bangle.js 2 watch - especially when it comes to memory?
Can the code of the npm package be stored in and run from the Bangle.js 2 flash memory, instead of RAM? How would I achieve this (or prevent that it moves to RAM for execution)?
Could I precompile the npm JS code (to C, to binary), to make it run faster?
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.
For a project I would like to run a discrete wavelets tranform on my Bangle.js 2 watch.
Because of that, I am wondering if it is possible to install an existing npm package (namely https://www.npmjs.com/package/discrete-wavelets ) in Espruino, to make its functionality available within my JS project.
Concrete questions I am pondering about:
Thanks in advance for any help and hints! :-)