script to run a file through lessc then r2
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples
.gitignore
README.md
less_r2.js
package.json

README.md

less_r2

Node.js command line utility to run a file through the less compiler then r2 for right-to-left styling. Useful for local development and integrating r2 into LESS pre-processing tools.

Install

$ [sudo] npm install -g less_r2

NPM Requirements (Should install by default):

Usage

body {
  color: red;
  padding-left: 30px;
  p {
    margin: 2px 4px 6px 8px;
  }
}
$ less_r2 test.less
body{color:red;padding-right:30px;}body p{margin:2px 8px 6px 4px;}