1.0.14 • Published 7 years ago

malta-js-packer v1.0.14

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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('=========');
    });
1.0.14

7 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

9 years ago

1.0.10

9 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago