malta-pdf-merge

1.0.8 • Public • Published

npm version npm downloads npm downloads

This plugin can be used on all files

This plugin expects the template to contain some placeholders to know which file to look for, this placeholder is: ##filepath##
All paths must be relative to the template folder

Sample usage:

malta app/docs/readme.txt public/docs -plugins=malta-pdf-merge

or in the .json file :

"app/docs/readme.txt" : "public/docs -plugins=malta-pdf-merge"

or in a script :

var Malta = require('malta');
Malta.get().check([
    'app/docs/readme.txt',
    'public/docs',
    '-plugins=malta-pdf-merge',
    '-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('=========');
    });

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i malta-pdf-merge

    Weekly Downloads

    0

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    3.29 kB

    Total Files

    4

    Last publish

    Collaborators

    • fedeghe