Fork me on GitHub
#clojurescript
<
2019-05-19
>
mv06:05:57

Hi all, I am trying to use a cljs library in a browser/react-native environment, not a node environment. However, that library uses request which uses crypto which is implemented natively in node

penryu06:05:50

Maybe not the solution you're asking for, but this might be relevant: https://www.npmjs.com/package/browser-request

mv06:05:19

Has anyone had any luck getting node crypto to work in browser or rn?

vemv13:05:36

Anyone familiar with :hooks [leiningen.cljsbuild] not resulting in lein test running both test suites? (JVM + node). It just runs the JVM one My setup is akin to this one, https://github.com/weavejester/cljfmt/blob/master/cljfmt/project.clj , generally it has worked well for me except for this new project