Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including rtltr with all npm packages installed. Try it out:

var rtltr = require("rtltr")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

rtltr v0.0.3

A helper for CSS rwriting to turn right-to-left into left-to-right and vice versa

A helper for CSS rwriting to turn right-to-left into left-to-right and vice versa

var rtltr = require("rtltrtltr");
var cssText = ...;
var flipped = rtltr.flip(cssText);

Use this to automate the job of changing directionality in your CSS as part of an automated build process

Use node test for the moment to verify the library does what it should be doing. There are very few tests at the moment.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free