I'm working on an app that connects to ESP32-S3 and need to convert image files before sending them over to the ESP32-S3 chip. The app is ionic based and uses node/express.js. Is there a way to incorporate this library in node so it behaves like a node_module? ie, so I could just import cli.ts functions and execute them as part of my express code? If not, any idea how this could be converted so the main functions can be called from node?
I'm working on an app that connects to ESP32-S3 and need to convert image files before sending them over to the ESP32-S3 chip. The app is ionic based and uses node/express.js. Is there a way to incorporate this library in node so it behaves like a node_module? ie, so I could just import cli.ts functions and execute them as part of my express code? If not, any idea how this could be converted so the main functions can be called from node?