mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
19 lines
521 B
TypeScript
19 lines
521 B
TypeScript
import { TInputOptions } from './src/types/options/TInputOptions';
|
|
|
|
import { IObfuscatedCode } from './src/interfaces/source-code/IObfuscatedCode';
|
|
|
|
export type ObfuscatorOptions = TInputOptions;
|
|
|
|
export interface ObfuscatedCode extends IObfuscatedCode {}
|
|
|
|
/**
|
|
* @param {string} sourceCode
|
|
* @param {ObfuscatorOptions} inputOptions
|
|
* @returns {ObfuscatedCode}
|
|
*/
|
|
export function obfuscate (sourceCode: string, inputOptions?: ObfuscatorOptions): ObfuscatedCode;
|
|
|
|
/**
|
|
* @type {string}
|
|
*/
|
|
export const version: string; |