0.6.0 • Published 11 years ago

roole-compiler v0.6.0

Weekly downloads
29
License
-
Repository
github
Last release
11 years ago

roole-compiler

Convert CSS AST to CSS string

Example

var parser = require('roole-parser');
var compiler = require('roole-compiler');

var ast = parser.parse('body { margin: 0 }');
var str = compiler.compile(ast);
console.log(str);

API

compiler.compile(node, [options]);
  • node - AST generated by roole-parser
  • options - A hash object containing the following options: indent (default: '\t') - Indent string to use in CSS precision (default: 3) - Max number of decimal digits to use in CSS
0.6.0

11 years ago

0.5.4

11 years ago

0.5.3

11 years ago

0.5.2

11 years ago

0.5.1

11 years ago

0.5.0

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago