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) 307 B
/** * Produces a wavy text animation effect by alternating letter casing. * * Example: waveText("hello") → "hElLo" * * @author @dailker * @param {string} str - The input string to wave. * @returns {string} The wavy-cased string. */ export declare function waveText(str: string): string;