Basswork
CSS preprocessor for Basscss built with Rework
Rework Plugins Included:
- Rework NPM
- Rework Custom Media
- Rework Vars
- Rework Calc
- Rework Plugin Colors
Install
npm install basswork
Usage
Node
Pass an unprocessed CSS string to Basswork, which will return the processed CSS.
var basswork = ;var fs = ; var src = fs;var css = ;fs;
Options
Pass Rework options as the second argument, and Rework stringify options as the third argument.
Basswork also includes a namespace
option to prefix styles with a string followed by a hyphen.
var css = ;
Command Line
$ basswork in.css out.css
$ basswork --sourcemap in.css out.css
MIT License