cljs-node icon indicating copy to clipboard operation
cljs-node copied to clipboard

A leiningen template for cljs scripts that target nodejs

cljs-node

cljs-node is a Leiningen template for projects that use ClojureScript and target nodejs.

It gives you a project.clj file with

  • Clojure
  • cljs-build
  • piggieback nREPL
  • Simple optimizations

Your sources will go into src/ and compiled javascript will be placed in the root directory as a simple file.

Usage

$ lein new cljs-node monkey
$ cd monkey
$ lein cljsbuild once
$ node monkey.js
Hello world

License

BSD, short and sweet