magica
Version:
ImageMagick for browser and Node.js, easy setup, high level API and Command Line Interface, including WASM binary for an easy setup.
10 lines (9 loc) • 309 B
TypeScript
import { FS } from '../file/emscriptenFs';
export declare function createMain(Module: any, FS: FS): NativeMain;
export declare type NativeMain = (args: string[]) => NativeResult;
export interface NativeResult {
returnValue: any;
stdout: string[];
stderr: string[];
error: Error | undefined;
}