Re:ClojureScript Is Not An Island: Integrating Node Modules
by nickbauman on Wednesday July 12, 2017 @04:53PM
(#14756567)
The thing I like about Clojurescript is the ability to escape the node/NPM ecosystem entirely. It's feature, not a bug, that I don't want to interoperate with node/NPM.
[ Parent
| on HN ]
Re:ClojureScript Is Not An Island: Integrating Node Modules
by swannodette on Wednesday July 12, 2017 @04:59PM
(#14756631)
I would say you are in a distinct minority here with that viewpoint :) I've been using / working on ClojureScript since the very beginning and the halfway integration with Node and NPM never seemed particularly desirable to me.
Re:ClojureScript Is Not An Island: Integrating Node Modules
by nickbauman on Thursday July 13, 2017 @11:48AM
(#14762280)
I hear you, David, and completely understand your point of view. And let me take this moment to say how much your work is loved and admired. I agree I am in the minority. And I also understand why people love a language like JavaScript: they love it so much that they routinely compile it back into JavaScript before running it o_0 ;)
Re:ClojureScript Is Not An Island: Integrating Node Modules
by anmonteiro90 on Wednesday July 12, 2017 @04:59PM
(#14756629)
This functionality is opt-in, so you can still live on your island if you'd like :-)
Re:ClojureScript Is Not An Island: Integrating Node Modules
by y2bd on Wednesday July 12, 2017 @05:57PM
(#14757043)
As someone looking to get into CLJS, where do I find "native" CLJS libraries in case I wish to avoid using NPM?
Re:ClojureScript Is Not An Island: Integrating Node Modules
by anmonteiro90 on Wednesday July 12, 2017 @05:59PM
(#14757051)
Native CLJS libraries are regular JARs that you add to your classpath. Most people publish them to Clojars[1] (which also has Clojure libs). Maven Central may also have some.
Re:ClojureScript Is Not An Island: Integrating Node Modules
by juhoteperi on Wednesday July 12, 2017 @06:12PM
(#14757126)
Clojure Toolbox (https://www.clojure-toolbox.com/) lists libraries for both Clojure and ClojureScript.