What is Pug?
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?
245 companies reportedly use Pug in their tech stacks, including Glovo, Accenture, and Coursera.
827 developers on StackShare have stated that they use Pug.
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
Great with nodejs
Very short syntax
Structured with indentation
Really similar to Slim (from Ruby fame)
It's not HAML
Difficult For Front End Developers,learn backend
Disdain for angled brackets
Jun 19 2015 at 6:37AM
Pug Alternatives & Comparisons
What are some alternatives to Pug?
See all alternatives
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.
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.
Mustache is a logic-less template syntax. It can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided in a hash or object. We call it "logic-less" because there are no if statements, else clauses, or for loops. Instead there are only tags. Some tags are replaced with a value, some nothing, and others a series of values.