Socket
Socket
Sign inDemoInstall

@bdxygy/webpack-javascript-obfuscator-plugin

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@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.

Keywords

FAQs

Last updated on 04 Jun 2023

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