maxcso
Version:
💿 maxcso binaries and wrapper for Node.js.
22 lines (21 loc) • 587 B
TypeScript
export interface MaxcsoBinOptions {
binaryPreference?: MaxcsoBinaryPreference;
logStd?: boolean;
}
export declare enum MaxcsoBinaryPreference {
PREFER_BUNDLED_BINARY = 1,
PREFER_PATH_BINARY = 2
}
/**
* Code to find and interact with the `maxcso` binary.
*/
export default class MaxcsoBin {
private static MAXCSO_BIN;
private static getBinPath;
private static getBinPathBundled;
private static getBinPathExisting;
/**
* Run maxcso with some arguments.
*/
static run(arguments_: string[], options?: MaxcsoBinOptions): Promise<string>;
}