@rodewitsch/carbone
Version:
Fast, Simple and Powerful report generator. Injects JSON and produces PDF, DOCX, XLSX, ODT, PPTX, ODS, ...!
23 lines • 1.36 kB
TypeScript
export let CPU_PERFORMANCE_FACTOR: number;
export function getUID(): string;
export let RANDOM_STRING_LENGTH: number;
export function getRandomString(): any;
export function encodeSafeFilename(str: string): string;
export function decodeSafeFilename(filename: string): string;
export function assert(result: object, expected: object): type;
export function readFileDirSync(dir: string, extension: string): object;
export function cleanJavascriptVariable(attributeName: any): any;
export function removeQuote(str: Strring): string;
export function rmDirRecursive(dir: type): void;
export function rmDirRecursiveAsync(dir: type, callback: Function): void;
export function getValueOfPath(rootObj: any, path: string): Mixed;
export function walkDirSync(dir: string, extension: string): any[];
export function copyDirSync(dirSource: string, dirDest: string): void;
export function writeFileDirSync(root: string, fileOrDirPath: string, content: string): void;
export function replaceAll(str: any, find: any, replace: any): any;
export function regexEscape(str: string): string;
export function removeDuplicatedRows(sortedArrayToClean: any[]): any[];
export function findClosest(str: string, choices: any[] | any): string;
export function distance(s1: string, s2: string): Integer;
export function updatePerformanceFactor(): void;
//# sourceMappingURL=helper.d.ts.map