StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
Pug
ByPugPug

Pug

#11in Templating Languages & Extensions
Discussions7
Followers1.19k
OverviewDiscussions7

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 Pros & Cons

Pros of Pug

  • ✓Elegant html
  • ✓Great with nodejs
  • ✓Open source
  • ✓Very short syntax
  • ✓Structured with indentation
  • ✓Free
  • ✓Gulp
  • ✓It's not HAML
  • ✓Really similar to Slim (from Ruby fame)
  • ✓Clean syntax

Cons of Pug

No cons listed yet.

Pug Alternatives & Comparisons

What are some alternatives to Pug?

TypeScript

TypeScript

TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.

Handlebars.js

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.

Mustache

Mustache

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.

Jinja

Jinja

It is a full featured template engine for Python. It has full unicode support, an optional integrated sandboxed execution environment, widely used and BSD licensed.

Smarty

Smarty

Facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation

EJS

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.

Pug Integrations

Node.js, Prepros, Lad, AnyChart, squido are some of the popular tools that integrate with Pug. Here's a list of all 5 tools that integrate with Pug.

Node.js
Node.js
Prepros
Prepros
Lad
Lad
AnyChart
AnyChart
squido
squido

Pug Discussions

Discover why developers choose Pug. Read real-world technical decisions and stack choices from the StackShare community.

Seungkwon Park
Seungkwon Park

my skills

May 19, 2016

Needs adviceonPugPug

front-end 수업 때 들은 jade 입니다. html을 효과적으로 다룰 수 있고 <div></div>로 열고 닫을때 혼돈이 없어 좋아합니다. 현재 프로젝트에 gulp와 함께 붙이려는 계획을 갖고 있지만, 아직 연습이 더 필요하다고 생각됩니다. Pug

0 views0
Comments
Romans Malinovskis
Romans Malinovskis

Mar 31, 2016

Needs adviceonPugPug

Our templates are written in jade. Also Agile CSS uses Jade. Pug

0 views0
Comments
Robert Brown
Robert Brown

Co Founder at Merge In

Aug 10, 2015

Needs adviceonPugPug

We use Jade for constructing our modular UI. We also rely on Jade interpolation to pass reactive and static values from our Express server. Pug

0 views0
Comments
Mathias Vonende
Mathias Vonende

Backend Developer

Aug 10, 2015

Needs adviceonPugPug

Nice templating system, but lacks proper namespacing for non-html / xml data. Pug

0 views0
Comments
Tim Joseph Dumol
Tim Joseph Dumol

Lead Software Architect at Kalibrr

May 28, 2015

Needs adviceonPugPug

We use Jade when writing HTML, which is much easier to read and maintain. We compile it to HTML before deploying it though, and don't use Jade's client-side rendering features. Pug

0 views0
Comments

Try It

Visit Website

Adoption

On StackShare

Companies
275
CKRKSS+269
Developers
951
FAJKKC+945