Socket
Socket
Sign inDemoInstall

gulp-js-obfuscator

Package Overview
Dependencies
73
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-js-obfuscator

Gulp wrapper for js-obfuscator. Obfuscates JS with Gulp


Version published
Maintainers
1
Weekly downloads
81
decreased by-8.99%

Weekly downloads

Readme

Source

gulp-js-obfuscator

Gulp plugin for js-obfuscator.

Installation

Install the package with NPM and add it to your development dependencies:

npm install --save-dev gulp-js-obfuscator

Usage

var gulp = require('gulp'),
    js_obfuscator = require('gulp-js-obfuscator');

var path = {
    build: {
      js: 'out/',
    },
    src: {
      js: 'src/**/*.js',
    }
};

gulp.src(path.src.js)
    .pipe(js_obfuscator({}, ["**/jquery-*.js"]))
    .pipe(gulp.dest(path.build.js));

Options

obfuscatorOptions

Type: Object Default: null Options for js-obfuscator. Should be passed exactly like described on their page.

excludes

Type: Array or String Default: [] Examples: ["**/jquery-*.js", "**/*.min.js"] or "**/jquery-*.js" Can be used to bypass obfuscation of some files.

Keywords

FAQs

Last updated on 29 Oct 2015

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