Wraps a myth or rework instance into a koa middleware.
$ npm install koa-myth
const km = require('koa-myth')
const rework = require('rework')
const http = require('http')
const myth = require('myth')
const koa = require('koa')
const fs = require('fs')
const port = process.env.port || 1337
const app = koa()
const css = fs.readFileSync('index.css', 'utf8')
const bundle = rework(css).use(myth())
app.use(km(bundle))
http.createServer(app.callback()).listen(port)