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.

15 lines (14 loc) 321 B
/** * Converts text into boxed ASCII art (useful for CLI tools). * * Example: * asciiArtify("hi") → * +----+ * | hi | * +----+ * * @author @dailker * @param {string} str - The input string. * @returns {string} The ASCII art string. */ export declare function asciiArtify(str: string): string;