Skip to content

RomanMinkin/gulp-javascriptobfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-javascriptobfuscator

Obfuscate JavasScript via javascriptobfuscator.com. Please DO NOT include any sensitive data.

Installation

npm install gulp-javascriptobfuscator

Usage


var javascriptobfuscator = require('gulp-javascriptobfuscator');

gulp.task('scripts', function() {
    gulp.src('./lib/*.js')
    .pipe(javascriptobfuscator({
        encodeString: true, // (Optional - default: true)
        encodeNumber: true, // (Optional - default: true)
        replaceNames: true, // (Optional - default: true)
        moveString: true,   // (Optional - default: true)
        exclusions: ["^_get_", "^_set_", "^_mtd_"] // (Optional)
    }))
    .pipe(gulp.dest('./dist/'));
});

License

MIT

About

Obfuscate JavasScript via javascriptobfuscator.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published