koa-elm

2.0.1 • Public • Published

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>.

Readme

Keywords

none

Package Sidebar

Install

npm i koa-elm

Weekly Downloads

5

Version

2.0.1

License

MIT

Last publish

Collaborators

  • poying