Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 449 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 449 Bytes

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