obfuscator-io-deobfuscator
obfuscator-io-deobfuscator copied to clipboard
Add configuration options to npm package
The npm package should support configuring all the same options as the web version.
Config interface should be
interface Config {
silent: boolean;
objectSimplification: {
isEnabled: boolean;
unsafeReplace: boolean;
};
objectPacking: {
isEnabled: boolean;
};
proxyFunctionInlining: {
isEnabled: boolean;
};
stringRevealing: {
isEnabled: boolean;
};
expressionSimplification: {
isEnabled: boolean;
};
constantPropagation: {
isEnabled: boolean;
};
reassignmentRemoval: {
isEnabled: boolean;
};
sequenceSplitting: {
isEnabled: boolean;
};
controlFlowRecovery: {
isEnabled: boolean;
};
deadBranchRemoval: {
isEnabled: boolean;
};
unusedVariableRemoval: {
isEnabled: boolean;
};
propertySimplification: {
isEnabled: boolean;
};
}
Reported in #29