You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WASM is possible with golang (either with the go compiler itself or with "tinygo")
I tried it in the past & the project compiled and worked fine 🎉
So in theory this should be possible
However it would only support a small selection of plugins (similar to the CLI). And this could make it difficult to add external dependencies since not everything is supported by tinygo.
@CNSeniorious000 Do you know any npm packages that use this approach? It would be good to have some npm packages as inspiration to see how they implemented it on the TS/JS Side...
Another idea would be to make a sharedlib and use ffi, thats how we use this library in nodejs. Example of another npm library doing this https://github.com/DemonMartin/tlsClient .
Describe the improvement
Is it possible to build this into a WASM, so that JavaScript developers can have a more performant alternative for rehype-remark or turndown?
The difficulty is how to support the plugin ecosystem of html-to-markdown.
The text was updated successfully, but these errors were encountered: