Angular with Webassembly

Hi,

I have a requirement to call C code from Angular. The requirement is to compress images once clicked on an IPAD in the browser. Codecs are written in C. Is there a way to integrate angular with web assembly?

Thanks and Regards,
Nipun Anand

Angular is no different than normal JS. In that realm any articles on interop with Web Assembly from JavaScript should more or less work fine.

Here’s a starting point on using webassembly with some JS interop.

https://developer.mozilla.org/en-US/docs/WebAssembly/Using_the_JavaScript_API