Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/honza/cljs-node

A leiningen template for cljs scripts that target nodejs
https://github.com/honza/cljs-node

Last synced: about 6 hours ago
JSON representation

A leiningen template for cljs scripts that target nodejs

Awesome Lists containing this project

README

        

cljs-node
=========

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

[1]: http://leiningen.org
[2]: https://github.com/clojure/clojurescript

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