UNPKG

@atomist/clj-editors

Version:

We build a node module `@atomist/clj-editors` here. This allows us to construct clojure editors using `rewrite-cljs`. After adding this dependency, the node application will have access to javascript functions transpiled from clojurescript.

21 lines (14 loc) 467 B
## packaging ClojureScript in NPM We build a node module `@atomist/clj-editors` here. This allows us to construct clojure editors using `rewrite-cljs`. After adding this dependency, the node application will have access to javascript functions transpiled from clojurescript. Put code like ``` require("@atomist/clj-editors") console.log(process.argv) editors.core/get-version(process.argv[1]) ``` in a `main.js` and then try: ``` node main.js project.clj ```