Stylus middleware for Koa
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

koa-stylus

Stylus middleware for Koa

Installation

$ npm install koa-stylus

Options

See the Stylus middleware document.

Example

var stylus = require('koa-stylus');
var serve = require('koa-static');
var koa = require('koa');
var app = koa();

app.use(stylus('./public'));

app.use(serve('./public'));

app.listen(3000);

License

MIT