Skip to content

Instantly share code, notes, and snippets.

@sundarj
Created February 8, 2018 12:30
Show Gist options
  • Save sundarj/dbfb6dcee552d728bf6941800ff798b8 to your computer and use it in GitHub Desktop.
Save sundarj/dbfb6dcee552d728bf6941800ff798b8 to your computer and use it in GitHub Desktop.
$ clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.9.946"} clojure/core.async {:git/url "https://github.com/clojure/core.async" :sha "91e6971a05fa49ca639fc1b7793141dd5f3d32ce"}}}' -m cljs.repl.node
ClojureScript Node.js REPL server listening on 58843
To quit, type: :cljs/quit
cljs.user=> (.log js/console "yo")
yo
nil
cljs.user=> (.arch (js/require "os"))
"x64"
cljs.user=> (require '[clojure.core.async :as async])
nil
cljs.user=> (async/chan)
#object[cljs.core.async.impl.channels.ManyToManyChannel]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment