2.0.2 • Published 8 years ago
koa-stylus-parser v2.0.2
koa-stylus-parser
Stylus parser middleware for Koa. It is useful for development.
Installation
$ npm install koa-stylus-parser
Examples
View the ./examples directory for working examples.
API
const parser = require('koa-stylus-parser');
const Koa = require('koa');
const app = new Koa();
app.use(parser(path.join(__dirname, '../assets'), {
'include css': true,
}));
app.listen(8080);
assetsPath
the assets pathoptions
the options for stylus
License
MIT