Rollup plugin that lets you compile your code with PreEmptive JSDefender.
npm install rollup-plugin-jsdefender
import jsDefender from 'rollup-plugin-jsdefender'
plugins:
[
jsDefender
({
booleanLiterals:
{
randomize: true
},
integerLiterals:
{
radix: "none",
randomize: true
},
debuggerRemoval: true,
stringLiterals: true,
propertyIndirection: true,
localDeclarations:
{
nameMangling: "base52"
},
controlFlow:
{
randomize: true
},
functionReorder:
{
randomize:true
},
quietMode: true,
license: "PJSD_LICENSE"
})
]
See the jsdefender user guide for information about options.
To use this, you must have a valid license key.
This project is licensed under the MIT License - see the LICENSE.md file for details.