Pug Parser
JSON →pug-parser is a core component of the Pug templating engine, responsible for transforming an array of tokens (generated by `pug-lexer`) into an Abstract Syntax Tree (AST). This package is currently at version 6.0.0, which was published six years ago. While the broader Pug ecosystem (the `pug` package) is actively maintained with regular updates and is considered a key ecosystem project, `pug-parser` as a standalone npm package has not seen direct updates in several years. Development for `pug-parser` continues as part of the `pugjs/pug` monorepo, meaning new features or fixes for the parsing logic are integrated into the main `pug` package. Its primary differentiator is its foundational role as the parsing layer within the Pug templating process, providing the structured AST that `pug-code-gen` then converts into renderable JavaScript functions.
Traffic · last 30 days ↑25% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany