@mdf.js/utils
Version:
MMS - API Core - Common utils tools
12 lines • 445 B
TypeScript
/**
* Copyright 2024 Mytra Control S.L. All rights reserved.
*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file
* or at https://opensource.org/licenses/MIT.
*/
/**
* Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`.
* @param ms - Milliseconds to humanize.
*/
export declare function prettyMS(ms: number): string;
//# sourceMappingURL=prettyMS.d.ts.map