UNPKG

mindee

Version:

Mindee Client Library for Node.js

19 lines (18 loc) 704 B
export declare function cleanOutString(outStr: string): string; /** * * @param columnSizes Size of each column in the table * @param separator character for a separator * @returns A separator for table lines */ export declare function lineSeparator(columnSizes: number[], separator: string): string; /** * Replaces all special characters like \n, \r, \t, with an equivalent that can be displayed on a single line. * Also trims line breaks at the end of the string. * @param outStr */ export declare function cleanSpecialChars(outStr: string): string; /** * Return a float as a string with at least 2 levels of precision. */ export declare function floatToString(value: number | null): string;