narraleaf
Version:
Create your visual novel with Electron and React
14 lines (13 loc) • 631 B
TypeScript
export declare function sliceString(str: string, n: number): string[];
export declare function errorToString(error: any): string;
export declare function errorToStack(error: any): string;
export declare function normalize(p: string): string;
export declare function root(p: string, sep: string): string;
export declare function timeStringify(ms: number): string;
export declare function countDirectoryLevels(path: string): number;
export declare function reverseDirectoryLevels(path: string): string;
export declare const sep: {
posix: string;
win32: string;
};
export declare function generateId(length?: number): string;