pascal-utils
Version:
Utility functions for compilation of simple pascal programs, with the Free Pascal compiler, in Node.js.
11 lines • 432 B
TypeScript
/**
* Checks whether the Free Pascal compiler is present in the system path.
* @category Compiler Detection
* @param {string} compilerName - The name of the compiler executable.
* @returns {Promise<{version: string}>}
* @throws {@link CompilerNotFoundError} if no compiler is found.
*/
export default function checkCompiler(compilerName?: string): Promise<{
version: string;
}>;
//# sourceMappingURL=checkCompiler.d.ts.map