Releases249
Frequency3 weeks 2 days
Last Release
Stars21.9K
Pug – robust, elegant, feature rich template engine for Node.js

Linked projects

A clean, whitespace-sensitive template language for writing HTML
A clean, whitespace-sensitive template language for writing HTML
The pug lexer (takes a string and converts it to an array of tokens)
Walk and transform a pug AST
The pug parser (takes an array of tokens and converts it to an abstract syntax tree)
The runtime components for the pug templating language
Standard error objects for pug
Harp’s fork of Jade, that reduces v1.0.0 breakage.
Default code-generator for pug. It generates HTML via a JavaScript template function.
Generate code for Pug attributes
The Pug loader is responsible for loading the depenendencies of a given Pug file.
Strip comments from a Pug token stream (from the lexer)
Code for processing filters in pug templates
Link multiple pug ASTs together using include/extends