@bdxygy/webpack-javascript-obfuscator-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.6-stable • Public • Published

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

Link for go to javascript-obfuscator

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.

Package Sidebar

Install

npm i @bdxygy/webpack-javascript-obfuscator-plugin

Weekly Downloads

29

Version

1.0.6-stable

License

MIT

Unpacked Size

19.5 kB

Total Files

6

Last publish

Collaborators

  • bdxygy