{"library":"roole-compiler","title":"roole-compiler","description":"Roole compiler converts Roole CSS AST (from roole-parser) into CSS string. Version 0.6.0 is the latest and only stable release, with no updates since 2016. It is a standalone component of the Roole preprocessor ecosystem. Differentiator: direct AST-to-CSS compilation with configurable indentation and numeric precision. Limited adoption and no active maintenance.","language":"javascript","status":"abandoned","last_verified":"Fri May 01","install":{"commands":["npm install roole-compiler"],"cli":null},"imports":["var compiler = require('roole-compiler'); compiler.compile(ast);","var compiler = require('roole-compiler');","const compiler = require('roole-compiler'); const str = compiler.compile(ast, { indent: '  ', precision: 2 });"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"var parser = require('roole-parser');\nvar compiler = require('roole-compiler');\n\nvar ast = parser.parse('body { margin: 0 }');\nvar str = compiler.compile(ast);\nconsole.log(str);\n// Output:\n// body {\n// \tmargin: 0;\n// }","lang":"javascript","description":"Parses a simple Roole rule and compiles the AST to a CSS string.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}