Socket
Socket
Sign inDemoInstall

gulp-javascriptobfuscator

Package Overview
Dependencies
6
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-javascriptobfuscator

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


Version published
Weekly downloads
3
Maintainers
2
Install size
192 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 04 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc