FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fedeghe/malta-js-obfuscator: Malta plugin to obfuscate javascript code · GitHub

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Error in user YAML: (<unknown>): did not find expected whitespace or line break while scanning a tag at line 1 column 2
---
[![npm version](https://badge.fury.io/js/malta-js-obfuscator.svg)](http://badge.fury.io/js/malta-js-obfuscator)
[![npm downloads](https://img.shields.io/npm/dt/malta-js-obfuscator.svg)](https://npmjs.org/package/malta-js-obfuscator)
[![npm downloads](https://img.shields.io/npm/dm/malta-js-obfuscator.svg)](https://npmjs.org/package/malta-js-obfuscator)  
---  

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

The options available are all those documented in the javascript-obfuscator package.
As in every malta plugin, options must be passed as shown in the sample usage below.

Sample usage:

@ malta app/source/index.js public/js -plugins=malta-js-obfuscator[compact:false,target:'browser']

or in the .json file :

"app/source/index.js" : "public/js -plugins=malta-js-obfuscator[compact:false,target:'browser']"

or in a script :

var Malta = require('malta');
Malta.get().check([
    'app/source/index.js',
    'public/js',
    '-plugins=malta-js-obfuscator[compact:false,target:\'browser\']',
    '-options=compact:false'
    ]).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('=========');
    });

For more information about the options checkout the javascript-obfuscator package on npm and the related herokuapp.com page

About

Malta plugin to obfuscate javascript code

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL