convert-to-pug

1.0.1 • Public • Published

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

/convert-to-pug/

    Package Sidebar

    Install

    npm i convert-to-pug

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    19.8 kB

    Total Files

    13

    Last publish

    Collaborators

    • serayaeryn