Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-jso-obfuscator

Obfuscate and protect your Rollup bundle with JavaScript Obfuscator. Official Rollup plugin for javascriptobfuscator.com: string encryption, control-flow flattening, member renaming.

This package is a thin, officially maintained wrapper around the Rollup integration that already ships inside javascriptobfuscator-com. It exists so the plugin can be found under the name people search for. The implementation is identical to require("javascriptobfuscator-com/rollup") - installing this package installs javascriptobfuscator-com as a dependency and re-exports it unchanged.

Install

npm install --save-dev rollup-plugin-jso-obfuscator

Usage

import jsoObfuscator from "rollup-plugin-jso-obfuscator";

export default {
  input: "src/index.js",
  output: { dir: "dist", format: "es" },
  plugins: [
    jsoObfuscator({ preset: "balanced" })
  ]
};

Every option accepted by javascriptobfuscator-com is accepted here. See the option reference and the npm CLI guide.

Coming from javascript-obfuscator?

javascriptobfuscator-com ships a one-command config converter:

npx javascriptobfuscator migrate --from javascript-obfuscator

See MIGRATION.md for the mapping table and what does and does not carry across.

Licence

Proprietary. This software is licensed, not sold - see LICENSE. A free tier is available; paid plans are published at https://javascriptobfuscator.com/premium-membership.aspx.

Releases

Packages

Contributors

Languages