This package has been deprecated

Author message:

This package is no longer actively maintained.

smart-static-stylus

1.0.2 • Public • Published

smart-static-stylus

Build Status

Stylus rendering engine for smart-static.

Usage

Using the Stylus smart-static engine plug-in is pretty easy.

var http = require('http');

var smartStatic = require('smart-static');
var stylus = require('smart-static-stylus');

var server = http.createServer(smartStatic(__dirname + '/public', {
    engines: [
    	stylus({
    		minify: true
    	})
    ]
}));

server.listen(8000);

Now .styl files in the /public folder will automatically be compiled, rendered and served as .css files.

Options

There is only one available option for the Stylus engine plug-in.

Name Type Default Description
minify Boolean true Minify CSS.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i smart-static-stylus

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • trenskow
  • trenskow_deprecated