JS Confuser
JS-Confuser is a JavaScript obfuscation tool to make your programs impossible to read. Try the web version.

Key features
Documentation
Get started in the JS-Confuser Docs
.
API Usage
Installation
$ npm install js-confuser
Usage
var JsConfuser = require("js-confuser");
JsConfuser.obfuscate(`
function fibonacci(num){
var a = 0, b = 1, c = num;
while (num-- > 1) {
c = a + b;
a = b;
b = c;
}
return c;
}
for ( var i = 1; i <= 25; i++ ) {
console.log(i, fibonacci(i))
}
`, {
target: "node",
preset: "high",
stringEncoding: false,
}).then(result => {
console.log(result.code)
})
Bug report
Please open an issue with the code and config used.
Feature request
Please open an issue and be descriptive. Don't submit any PRs until approved.
License
MIT License