Clojurians
#lumo
<
2018-06-24
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

pablore16:06:17

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?

pablore17:06:16

What I mean, I want to require cljs code in my node project

richiardiandrea17:06:03

@pablore you could compile down to js and then require but I am afraid there is some twist there

richiardiandrea17:06:44

I am saying this because Thomas Heller has an explicit :npm-module for exactly that use case in shadow cljs

pablore17:06:06

Just found out there is some idea for an embedding api, https://github.com/anmonteiro/lumo/issues/306

richiardiandrea17:06:24

Yeah that's no yet in lumo

richiardiandrea17:06:15

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

pablore17:06:33

looks great, thanks!

pablore17:06:07

and it works like a charm