@cljs/register
v1.0.0-alpha.2
Published
Node package to hook *.cljs files and parse them on the fly
Downloads
5
Readme
@cljs/register
Node package to hook *.cljs files and parse them on the fly.
Usage
;; foo.cljs
(defn ^:export square [x] (* x x))
// bar.js
require('@cljs/register');
const square = require('./foo.cljs');
square(2); // -> 4