web analytics

News & Features

What is PUG?

PUG is a Javascript library that was previously known as JADE. It is an easy-to-code template engine used to code HTML in a more readable fashion.

In layman’s terms, it makes coding faster, due to not needing to do brackets or most of the conventional coding styles developers are used to.

DanzLive started using PUG on a daily basis as a method of saving time, this started saving our customers time and money, for simple websites it reduced the time spent on actual development.

As an illustration of how much lighter PUG is, both the HTML code (left) and the PUG code(right) produce the same output:

Output

Like this article?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

This website uses cookies to ensure you get the best experience on our website.