roole-parser
v0.13.1
Published
Parser for the Roole language
Downloads
45
Readme
roole-parser
Take a string of Roole code, and output the ast.
Example
var parser = require('roole-parser');
var ast = parser.parse('body { margin: 0 }');
console.log(ast);
API
parser.parse(str, options)
str
- string of Roole codeoptions
- hash object supports the following options:filename
- file path of the Roole code, used is debugging