Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
script to run a file through lessc then r2
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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;}
Something went wrong with that request. Please try again.