TL,DR: How do I embed JavaScript into an Uno-Platform Cross Platform Library project?
Below are some great resources on how to embed a JavaScript library into a WASM platform project of an Uno Platform Application (not a Library):
However, the above does not address, nor have I been able to find anything on, how to do this within an Uno Platform Library. How do I embed JavaScript into an Uno-Platform Cross Platform Library project?
This link shows how to do it - https://platform.uno/blog/how-to-embed-javascript-components-in-c-built-uno-webassembly-web-applications/
It has two examples on using a date/time picker control Flartpickr as well as syntax visualizer PrismJS.