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

https://github.com/settinghead/meteor-clojurescript-core

ClojureScript's cljs.core support for Meteor
https://github.com/settinghead/meteor-clojurescript-core

Last synced: about 1 year ago
JSON representation

ClojureScript's cljs.core support for Meteor

Awesome Lists containing this project

README

          

ClojureScript `cljs.core` for Meteor
==

(Highly experimental) ClojureScript core functionalities based on [cljs-bootstrap](https://github.com/swannodette/cljs-bootstrap). No JVM is required.

# Installation

In your project folder

```bash
meteor add settinghead:cljs-core
```

Create a file with extension `.cljs`, e.g.

```Clojure
(enable-console-print!)

(defn say-hello []
(println "hello!"))

(defn inc-all [nums]
(map inc nums))

(.startup js/Meteor say-hello)
(.startup js/Meteor #(println (inc-all [1 3 5 9])))
```

# Project status: highly experimental

I only managed to get `cljs.core` working and haven't tested the ClojureScript integration extensively or in production mode. Pull requests on improvement are welcome.