1.0.1 • Published 6 years ago

convert-to-pug v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

convert-to-pug

Build Status Coverage Status NPM version

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/

License

MIT