1.2K
1.2K
+ 1
467

What is Pug?

This project was formerly known as "Jade." Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers.
Pug is a tool in the Templating Languages & Extensions category of a tech stack.
Pug is an open source tool with GitHub stars and GitHub forks. Here’s a link to Pug's open source repository on GitHub

Who uses Pug?

Companies
251 companies reportedly use Pug in their tech stacks, including Glovo, Accenture, and Coursera.

Developers
894 developers on StackShare have stated that they use Pug.

Pug Integrations

Node.js, AnyChart, Prepros, Lad, and squido are some of the popular tools that integrate with Pug. Here's a list of all 5 tools that integrate with Pug.
Pros of Pug
138
Elegant html
90
Great with nodejs
59
Open source
59
Very short syntax
54
Structured with indentation
25
Free
6
Really similar to Slim (from Ruby fame)
6
It's not HAML
6
Gulp
5
Clean syntax
5
Readable code
5
Easy setup
5
Difficult For Front End Developers,learn backend
4
Disdain for angled brackets

Blog Posts

Jun 19 2015 at 6:37AM

ReadMe.io

JavaScriptGitHubNode.js+25
12
2391

Pug Alternatives & Comparisons

What are some alternatives to Pug?
EJS
It is a simple templating language that lets you generate HTML markup with plain JavaScript. No religiousness about how to organize things. No reinvention of iteration and control-flow. It's just plain JavaScript.
Handlebars.js
Handlebars.js is an extension to the Mustache templating language created by Chris Wanstrath. Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
See all alternatives

Pug's Followers
1192 developers follow Pug to keep up with related blogs and decisions.