koa-elm
v2.0.1
Published
koa wrapper for elm
Downloads
17
Readme
koa-elm
const elm = require('koa-elm');
const app = koa();
app.use(elm('/build.js', options));
Options
{
root: <String>, // default: process.cwd()
entry: <String>, // default: 'Main.elm'
onError: <Function>,
watch: <Boolean> // default: false
}
License
(The MIT License)
Copyright (c) 2016 Po-Ying Chen <[email protected]>.