convert-to-pug
v1.0.1
Published
[![Build Status](https://travis-ci.org/SerayaEryn/convert-to-pug.svg?branch=master)](https://travis-ci.org/SerayaEryn/convert-to-pug) [![Coverage Status](https://coveralls.io/repos/github/SerayaEryn/convert-to-pug/badge.svg?branch=master)](https://coveral
Downloads
2
Readme
convert-to-pug
convert-to-pug
coverts jade templates to pug templates. It changes all occurrences of legacy mixin calls, attribute interpolation and prefixed each or for loops to the new syntax.
Install
npm install -g convert-to-pug
Usage
Convert a .jade file to a .pug file:
convert-to-pug template.jade
Convert all .jade files in a directory:
convert-to-pug views/