Socket
Book a DemoInstallSign in
Socket

broccoli-styl

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-styl

Preprocess CSS with Styl

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

broccoli-styl Build Status

Preprocess CSS with Styl

Install

$ npm install --save broccoli-styl

Usage

var calc = require('rework-calc');
var styl = require('broccoli-styl');

tree = styl(tree, { use: function (css) {
	css.use(calc);
}});

API

styl(tree, opts)

Initialize a new styl with the given string of regular CSS or whitespace-significant style CSS.

Options

use

Type: Function
Default: undefined

Accepts a function that gives you the ability to interact with styl before compiling. Useful for adding on plugins, etc.

whitespace

Type: Boolean
Default: false

Utilize CSS whitespace transformations.

License

MIT © Kevin Mårtensson

Keywords

broccoli-plugin

FAQs

Package last updated on 05 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts