🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

webpack-js-obfuscator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-js-obfuscator

JSObfuscator plugin for Webpack

0.0.5
latest
Source
npm
Version published
Weekly downloads
10
-28.57%
Maintainers
1
Weekly downloads
 
Created
Source

#JSObfuscator plugin for Webpack

###Installation

Install the package with NPM and add it to your devDependencies:

npm install --save-dev webpack-js-obfuscator

###Usage:

var WebpackJsObfuscator = require('webpack-js-obfuscator');

// ...

// webpack plugins array
plugins: [
	new UglifyJsPlugin(), // better to use with UglifyJsPlugin
	new WebpackJsObfuscator({}, ['excluded_bundle_name.js'])
],

###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: ['excluded_bundle_name.js', '**_bundle_name.js'] or 'excluded_bundle_name.js'

Can be used to bypass obfuscation of some files.

FAQs

Package last updated on 30 Apr 2016

Did you know?

Socket

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