node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

cssor

CSSOR


CSSOR


Browserify for CSS.

Installation

$ npm install --global cssor

Usage

$ cssor --help
 
    Usage
    $ cssor [options] [file]
 
  Options
    --transform, -t   Use a transformer for source files
    --output, -o      Write output to file
    --basedir, -b     Set base dir for input file
 
  Examples
    $ cat app.css | cssor -t myth -o dist/app.css
    $ cssor -i app.css -t myth > dist/app.css

Options

transform

Add a transformer (rework plugin). Can be set multiple times.

$ cssor -t rework-npm -t myth

output

Write output to the file, instead of stdout.

$ cssor -o dist/app.css

basedir

Change base directory for @import in stylesheets.

$ cssor -b styles

License

MIT © Vadim Demedes