esbuild-plugin-jso-obfuscator
v0.1.1
Published
Obfuscate and protect your esbuild output with JavaScript Obfuscator. Official esbuild plugin for javascriptobfuscator.com: string encryption, control-flow flattening, member renaming.
Maintainers
Readme
esbuild-plugin-jso-obfuscator
Obfuscate and protect your esbuild output with JavaScript Obfuscator. Official esbuild plugin for javascriptobfuscator.com: string encryption, control-flow flattening, member renaming.
This package is a thin, officially maintained wrapper around the esbuild
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/esbuild") - installing this package installs
javascriptobfuscator-com as a dependency and re-exports it unchanged.
Install
npm install --save-dev esbuild-plugin-jso-obfuscatorUsage
const esbuild = require("esbuild");
const jsoObfuscator = require("esbuild-plugin-jso-obfuscator");
esbuild.build({
entryPoints: ["src/index.js"],
bundle: true,
outdir: "dist",
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-obfuscatorSee 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.
