UNPKG

@sebastianwessel/quickjs

Version:

A typescript package to execute JavaScript and TypeScript code in a WebAssembly QuickJS sandbox

5 lines (4 loc) 306 B
import type { Scope } from 'quickjs-emscripten-core'; import type { CodeFunctionInput } from '../../types/CodeFunctionInput.js'; import type { SandboxEvalCode } from '../../types/SandboxEvalCode.js'; export declare const createEvalCodeFunction: (input: CodeFunctionInput, scope: Scope) => SandboxEvalCode;