JS Obfuscator Grunt Task
Obfuscate your JS code using the formal (paid) HTTP API of http://www.javascriptobfuscator.com.
You need a Premium Membership Subscription in order to use this package.
Usage
Install using NPM:
$ npm i -D js-obfuscator-api
Gruntfile.js:
module { grunt; grunt; grunt;};
Check out the default options and read more about obfuscation options at: https://service.javascriptobfuscator.com/httpapi.asmx?WSDL.
API key and password:
It is NOT recommended to put these hard coded in Gruntfile.js
. You should pass them as environment variables using process.env
.