Notoriously Psychedelic Modules

koa-stylus-parser

2.0.2 • Public • Published

koa-stylus-parser

Build Status Coverage Status npm Github Releases

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 path

  • options the options for stylus

License

MIT

install

npm i koa-stylus-parser

Downloadsweekly downloads

3

version

2.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability