@ztimson/utils 0.26.18 → 0.26.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/string.d.ts CHANGED
@@ -29,9 +29,10 @@ export declare function formatBytes(bytes: number, decimals?: number): string;
29
29
  /**
30
30
  * Convert milliseconds to human-readable duration
31
31
  * @param {string} ms milliseconds
32
+ * @param {boolean} short Use unit initial instead of word
32
33
  * @return {string} formated duration
33
34
  */
34
- export declare function formatMs(ms: number): string;
35
+ export declare function formatMs(ms: number, short?: boolean): string;
35
36
  /**
36
37
  * Extract numbers from a string & create a formated phone number: +1 (123) 456-7890
37
38
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztimson/utils",
3
- "version": "0.26.18",
3
+ "version": "0.26.19",
4
4
  "description": "Utility library",
5
5
  "author": "Zak Timson",
6
6
  "license": "MIT",