bs

broccoli-stylus

Compile Stylus

Showing:

Popularity

Downloads/wk

8

GitHub Stars

9

Maintenance

Last Commit

3yrs ago

Contributors

2

Package

Dependencies

3

Size (min+gzip)

16.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Deprecated!
The Stylus project is no longer maintained.

Readme

Deprecated

The Stylus project is no longer maintained.


broccoli-stylus Build Status

Compile Stylus

Issues with the output should be reported on the Stylus issue tracker.

Install

$ npm install --save-dev broccoli-stylus

Usage

var stylus = require('broccoli-stylus');
tree = stylus(tree, options);

API

stylus(tree, [options])

options

include

Type: array

Paths to scan for @import directives when parsing.

use

Type: array

Pass in Stylus plugins to be used during compilation.

import

Type: array

Defer importing of the given paths until evaluation is performed.

urlFn

Type: array

Will use iterate over the values and call stylus.define(value, stylus.url()); for each iteration.

set

Type: object

Set some settings.

define

Type: object

Define global variables that will be accessible in Stylus files.

License

MIT © Sindre Sorhus

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial