2.0.1 • Published 8 years ago

koa-elm v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

koa-elm npm

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 <poying.me@gmail.com>.