I’ve put together DenoRider, a JavaScript runtime embedded in Elixir via Rustler and the deno_runtime crate.
My use case is server side rendering of a ClojureScript app. Please let me know if you use it, because it would be interesting to hear about your use case!
Thank you for doing this! I wanted to create a Rustler NIF around deno_runtime as well for https://github.com/akoutmos/deno_ex....but now it appears I won’t have to do that . Thanks for checking that off my todo list!
I think CortexJS would work just fine. There’s no support for npm integration yet, though, so you need a build step to convert CortexJS to something consumable by the runtime. I suggest you take a look at what @rekkice does in his repo.
It worked great! We are compiling our TS file using the bun lib and then passing the resulting JS file to the DenoRider supervisor. Thanks for your effort in building it!
Do you have a roadmap with the changes/features you still want to implement or may we consider this library production-ready/stable?
There’s currently no roadmap, but that’s mostly because it has everything I need for now. If you have feature requests, just put up an issue on GitHub.