compile-run
Version:
You can execute programs in different languages using this package
8 lines (7 loc) • 305 B
TypeScript
import { Options } from "../types";
/**
* Compiles a Cpp source file and returns a promise that resolves with the path of the executable
* @param filePath A path like string
* @param options Optional options
*/
export declare function compileCpp(filePath: string, options?: Options): Promise<string>;