This package has been deprecated

Author message:

do not use it

malta-js-packer

1.0.14 • Public • Published

npm version Dependencies npm downloads npm downloads

This plugin can be used on: .js files and even on .coffee and .ts files after using the right plugin

Options :
- base62 : encode base62 (default false)
- shrink : shrink variables (default false)

Sample usage:

malta app/source/index.js public/js -plugins=malta-js-packer

or in the .json file :

"app/source/index.js" : "public/js -plugins=malta-js-packer"

or in a script :

var Malta = require('malta');
Malta.get().check([
    'app/source/index.js',
    'public/js',
    '-plugins=malta-js-packer',
    '-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('=========');
    });

Package Sidebar

Install

npm i malta-js-packer

Weekly Downloads

1

Version

1.0.14

License

MIT

Unpacked Size

28.6 kB

Total Files

5

Last publish

Collaborators

  • fedeghe