javascript

mathpunk 2018-05-07T01:00:05.000133Z

hey folks --- I've got some javascript code in the wild that i want to use, test, and analyze. it's not packaged up nicely, it's not an npm library; it's just deep in a monorepo. I haven't worked much with js: what's the most expedient way to start requiring source files and doing stuff with it? Are there examples of what that looks like?

mathpunk 2018-05-07T03:53:26.000109Z

My initial plan is to follow https://github.com/clojure/clojurescript-site/blob/master/content/guides/javascript-modules.adoc

mathpunk 2018-05-07T04:15:16.000193Z

This has been a help. https://clojurescript.org/reference/dependencies Maybe my real question is, how do i embed a cljs repl in a web app written in plain js? I'll ask over in #boot