pugit

6.1.1 • Public • Published

pugit@1.0.0

npm version build status coverage status dependency status devDependency status Gitter

Command line tool to generate .pug files from html

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install pugit --save

Usage

A full HTML body example.

pugit test.html

Bodyless (no html or head tags) output.

pugit test.html --bodyless

Bodyless with 4 spaces instead of 2.

pugit test.html --bodyless --spaces 4

New output filename.

pugit test.html --output newoutput.html

New output filename in a new directory.

pugit test.html --output newdirectory/newoutput.html

Dependencies

License

ISC

Package Sidebar

Install

npm i pugit

Weekly Downloads

134

Version

6.1.1

License

ISC

Last publish

Collaborators

  • mvieth