New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeJS is missing DOM api. #83
Comments
I'm not particularly interested in nodejs (if you are using Kotlin it makes little sense to use it). The main blocker though would be that (beyond the JS ecosystem being a bit bonkers) kotlin multiplatform doesn't really support multiplatform well. If I do something I'd probably do some runtime detection magic that would allow using jsdom at runtime, but work "automagically". |
My usecase would be AWS Lambdas to cope with the cold start issue, but I understand your point. Indeed I would prefer 2 really separated target for JS which is one NodeJS and another the browser in the K/MP model to solve those evil issues. |
@lamba92 You may be able to try native for lambda's (they are best on cold start). |
I wonder what you've ended up using for Node @lamba92. |
For context @pdvrieze, I'm developing a multiplatform library that will be consumed by Eclipse plugins, VS Code plugins, and native CLIs. |
When running into NodeJS the dom API are not available. I would recommend a fallback to https://github.com/jsdom/jsdom with a separate artifact for nodejs.
The text was updated successfully, but these errors were encountered: