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

@bdxygy/webpack-javascript-obfuscator-plugin

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bdxygy/webpack-javascript-obfuscator-plugin

This package is the successor of javascript-obfuscator specifically designed for the webpack environment. It performs obfuscation after webpack has completed the afterEmit lifecycle.

1.0.6-stable
latest
Version published
Maintainers
1
Created

@bdxygy/webpack-javascript-obfuscator-plugin

This package is the successor of javascript-obfuscator specifically designed for the webpack environment. It performs obfuscation after webpack has completed the afterEmit lifecycle.

https://github.com/javascript-obfuscator/webpack-obfuscator

Here's an example of how to use this package:

... // webpack.config.js
plugins: [new ObfuscatorPlugin({
    renameGlobals: true,
    compact: true,
    target: "node",
    transformObjectKeys: true,
    stringArray: true,
    identifierNamesGenerator: "mangled-shuffled",
    stringArrayEncoding: ["rc4"],
    splitStrings: true,
    splitStringsChunkLength: 3,
  })],
}
// This is the default configuration for this plugin. 
If you believe there are no changes needed, you can remove the parameters from the plugin object
so that they are implicitly set, and it won't cause any issues.

If you want to learn more about obfuscation performance or access documentation about @bdxygy/webpack-javascript-obfuscator-plugin you can simply visit the documentation of javascript-obfuscator at https://github.com/javascript-obfuscator/javascript-obfuscator. There, you can find detailed information and resources regarding the plugin.

FAQs

Package last updated on 04 Jun 2023

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