UNPKG

@alwatr/flat-string

Version:

The `flat-string` function flattens the underlying C structures of a concatenated JavaScript string.

12 lines 339 B
/** * This function simplifies the complex C structures that are part of a combined JavaScript string. * * @param str The string to flatten. * @returns The flattened string. * @example * ```typescript * myStr = flatString(myStr); * ``` */ export declare function flatString(str: string): string; //# sourceMappingURL=main.d.ts.map