popkinj / html2pug

Converts HTML to Pug :dog:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html2pug

Converts HTML to Pug (formerly Jade)

Install

Get it on npm:

npm i -g html2pug

Usage

html2pug -f /path/to/file.html

Development

Install it like this

git clone https://github.com/izolate/html2pug.git
cd html2pug
npm install
npm link

Now the html2pug command is referencing the executable in the working directory.

Notes

html2pug uses the await function from ecmascript 2017. So you need Node version 7.6 or higher.

About

Converts HTML to Pug :dog:

License:MIT License


Languages

Language:JavaScript 100.0%