1 Star 0 Fork 0

Yzidan/javascript-obfuscator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.ts 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
"use strict";
import { TDictionary } from './src/types/TDictionary';
import { TInputOptions } from './src/types/options/TInputOptions';
import { TObfuscationResultsObject } from './src/types/TObfuscationResultsObject';
import { TOptionsPreset } from './src/types/options/TOptionsPreset';
import { IObfuscationResult } from './src/interfaces/source-code/IObfuscationResult';
import { JavaScriptObfuscator } from './src/JavaScriptObfuscatorFacade';
export type ObfuscatorOptions = TInputOptions;
export interface ObfuscationResult extends IObfuscationResult {}
/**
* @param {string} sourceCode
* @param {ObfuscatorOptions} inputOptions
* @returns {ObfuscatedCode}
*/
export declare function obfuscate (sourceCode: string, inputOptions?: ObfuscatorOptions): ObfuscationResult;
/**
* @param {TSourceCodesObject} sourceCodesObject
* @param {TInputOptions} inputOptions
* @returns {TObfuscationResultsObject<TSourceCodesObject>}
*/
export declare function obfuscateMultiple <TSourceCodesObject extends TDictionary<string>> (
sourceCodesObject: TSourceCodesObject,
inputOptions?: TInputOptions
): TObfuscationResultsObject<TSourceCodesObject>;
/**
* @param {TOptionsPreset} optionsPreset
* @returns {TInputOptions}
*/
export declare function getOptionsByPreset (optionsPreset: TOptionsPreset): TInputOptions;
/**
* @type {string}
*/
export declare const version: string;
module.exports = JavaScriptObfuscator;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Yzidan/javascript-obfuscator.git
git@gitee.com:Yzidan/javascript-obfuscator.git
Yzidan
javascript-obfuscator
javascript-obfuscator
master

搜索帮助