bitran
Version:
📜 Highly customizable text processor and transpiler.
10 lines (9 loc) • 430 B
TypeScript
export declare function normalizeText(text: string): string;
export declare function textToStrBlocks(text: string): string[];
export declare function splitFirstLine(text: string): {
firstLine: string;
restText: string;
};
export declare function textToObj(text: string): object;
export declare function indent(text: string, indentSize?: number): string;
export declare function tryParseInt(text: string): string | number;