UNPKG

@sudoo/marked

Version:

JavaScript & TypeScript code runner in JavaScript, safe with marked territory, asynchronous

12 lines (11 loc) 460 B
/** * @author WMXPY * @namespace Util * @description Option */ import { ISandboxOptions } from "../declare/sandbox"; export declare const getDefaultSandboxOption: () => ISandboxOptions; export declare const getRawCode: (script: string) => string; export declare const getRawCodeLength: (script: string) => number; export declare const getCommentRemovedCode: (script: string) => string; export declare const awaitableSleep: (time: number) => Promise<void>;