pug-parser (npm): The pug parser (takes an array of tokens and converts it to an abstract syntax tree)
Keywords: pug