I’m wondering If I can use
lumo instead of
node to run my server on it.
I want to write simple server in clojurescript and be able to use some libraries from js ecosystem like passport.js and others.
There is a nice article on the topic https://lambdaisland.com/blog/2017-05-02-nodejs-scripts-clojurescript
Check out this repo for examples of writing nodejs express servers with clojurescript https://github.com/lambdaisland/npmdemo
There is also https://macchiato-framework.github.io/
I am giving clojurescript + nodejs a try for my next app. So far so good. I chose http://shadow-cljs.org/, since the story for npm dependencies is really good and also very happy with it for my front-end app.
Thanks for the links!
Shadow cljs uses the JVM behind the scenes, making use of the Java closure compiler.
Think the JVM version of closure compiler is a bit more advanced. Also the npm integration story might be better in shadow-cljs.
Also shadow-cljs is really actively developed/maintained, a lot of nice features have been added recently, lumo seems a bit less active.