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.

8 lines (7 loc) 219 B
/** * Converts duration in ms to human-readable form (e.g., "2 hours 5 minutes"). * @author @dailker * @param {number} ms * @returns {string} */ export declare function humanizeDuration(ms: number): string;