mp

malta-pug

malta plugin to get html files from pug files

Showing:

Popularity

Downloads/wk

8

GitHub Stars

0

Maintenance

Last Commit

2yrs ago

Contributors

1

Package

Dependencies

1

Size (min+gzip)

241.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme


npm version npm downloads npm downloads


This plugin can be used on: .pug files

Options : no options

Sample usage:

malta app/source/home.pug public -plugins=malta-pug

or in the .json file :

"app/source/home.pug" : "public -plugins=malta-pug"

or in a script :

var Malta = require('malta');
Malta.get().check([
    'app/source/home.pug',
    'public',
    '-plugins=malta-pug',
    '-options=showPath:false,watchInterval:500,verbose:0'
    ]).start(function (o) {
        var s = this;
        console.log('name : ' + o.name)
        console.log("content : \n" + o.content);
        'plugin' in o && console.log("plugin : " + o.plugin);
        console.log('=========');
    });

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100