UNPKG

javascript-obfuscator

Version:
29 lines (28 loc) • 1.01 kB
import { IInitializable } from '../interfaces/IInitializable'; export declare class JavaScriptObfuscatorCLI implements IInitializable { static readonly availableInputExtensions: string[]; static readonly encoding: BufferEncoding; static readonly obfuscatedFilePrefix: string; private commands; private identifierNamesCacheFileUtils; private inputCLIOptions; private inputPath; private sourceCodeFileUtils; private obfuscatedCodeFileUtils; private proApiClient?; private readonly arguments; private readonly rawArguments; constructor(argv: string[]); private static buildOptions; private static filterOptions; initialize(): void; run(): Promise<void>; private configureCommands; private configureHelp; private processSourceCodeData; private processSourceCode; private getProApiClient; private processSourceCodeWithProApi; private processSourceCodeWithoutSourceMap; private processSourceCodeWithSourceMap; }