@vivliostyle/cli
Version:
Save the pdf file via headless browser and Vivliostyle.
16 lines (12 loc) • 387 B
TypeScript
declare module 'command-exists' {
export default commandExists;
function commandExists(commandName: string): Promise<string>;
function commandExists(
commandName: string,
cb: (error: null, exists: boolean) => void,
): void;
namespace commandExists {
function sync(commandName: string): boolean;
}
function commandExists(command: string): Promise<boolean>;
}