roro

A little CSS preprocessor

Usage no npm install needed!

<script type="module">
  import roro from 'https://cdn.skypack.dev/roro';
</script>

README

roro

CSS preprocessor built on top of Rework.

Installation

$ sudo npm install -g roro

Usage

$ roro -b "last 2 versions, android 4" -o output.css input.css

roro has various options:

$ roro -h

  Usage: roro [options] <file>

  Options:

    -h, --help                      output usage information
    -V, --version                   output the version number
    -b, --browsers [config]         specify the browsers for autoprefixer
    -f, --baseFontSize [font-size]  set the base font size
    -d, --dir [directory]           the directory where the source file is located
    -o, --out [file]                write the output to a file

Imports

@import "node-package-name";

roro reads CSS imports and inlines the CSS at that path for you. It also understands node modules. Uses rework-npm.