Hi! So we have this big piece of Nodejs code at work, and I’ve been thinking on extending it using clojure. Can I use lumo for this?
What I mean, I want to require cljs code in my node project
@pablore you could compile down to js and then require but I am afraid there is some twist there
I am saying this because Thomas Heller has an explicit :npm-module
for exactly that use case in shadow cljs
Just found out there is some idea for an embedding api, https://github.com/anmonteiro/lumo/issues/306
Yeah that's no yet in lumo
I have just received the approval for working on it from Antonio but at the moment I am using Shadow because it is more compatible with my colleague's IDEs/OS
so probably the easiest way is https://shadow-cljs.github.io/docs/UsersGuide.html#target-npm-module
at the moment
looks great, thanks!
and it works like a charm
cool 😉