UNPKG

everyutil

Version:

A comprehensive library of lightweight, reusable utility functions for JavaScript and TypeScript, designed to streamline common programming tasks such as string manipulation, array processing, date handling, and more.

11 lines (10 loc) 361 B
/** * Expands camelCase or PascalCase strings into space-separated, lowercased words. * * Example: expandCamelCase("helloWorldTest") → "hello world test" * * @author @dailker * @param {string} str - The camelCase or PascalCase string. * @returns {string} The expanded string. */ export declare function expandCamelCase(str: string): string;