@tolki/num 1.0.0 → 1.0.1
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/num.d.ts +48 -48
- package/dist/num.d.ts.map +1 -1
- package/package.json +4 -3
package/dist/num.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Format the given number according to the current locale.
|
|
3
3
|
*
|
|
4
|
-
* @param number The number to format.
|
|
5
|
-
* @param precision The number of decimal places to use.
|
|
6
|
-
* @param maxPrecision The maximum number of decimal places to use.
|
|
7
|
-
* @param locale The locale to use for formatting.
|
|
4
|
+
* @param number - The number to format.
|
|
5
|
+
* @param precision - The number of decimal places to use.
|
|
6
|
+
* @param maxPrecision - The maximum number of decimal places to use.
|
|
7
|
+
* @param locale - The locale to use for formatting.
|
|
8
8
|
* @returns The formatted number string.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
@@ -17,8 +17,8 @@ export declare function format(number: number, precision?: number | null, maxPre
|
|
|
17
17
|
/**
|
|
18
18
|
* Parse the given string according to the specified format type.
|
|
19
19
|
*
|
|
20
|
-
* @param value The string to parse.
|
|
21
|
-
* @param locale The locale to use for parsing.
|
|
20
|
+
* @param value - The string to parse.
|
|
21
|
+
* @param locale - The locale to use for parsing.
|
|
22
22
|
* @returns The parsed number.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
@@ -29,8 +29,8 @@ export declare function parse(value: string, locale?: string | null): number;
|
|
|
29
29
|
/**
|
|
30
30
|
* Parse a string into an integer according to the specified locale.
|
|
31
31
|
*
|
|
32
|
-
* @param value The string to parse.
|
|
33
|
-
* @param locale The locale to use for parsing.
|
|
32
|
+
* @param value - The string to parse.
|
|
33
|
+
* @param locale - The locale to use for parsing.
|
|
34
34
|
* @returns The parsed integer or false if parsing fails.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
@@ -41,16 +41,16 @@ export declare function parseInt(value: string, locale?: string | null): number
|
|
|
41
41
|
/**
|
|
42
42
|
* Parse a string into a float according to the specified locale.
|
|
43
43
|
*
|
|
44
|
-
* @param value The string to parse.
|
|
45
|
-
* @param locale The locale to use for parsing.
|
|
44
|
+
* @param value - The string to parse.
|
|
45
|
+
* @param locale - The locale to use for parsing.
|
|
46
46
|
* @returns The parsed float or false if parsing fails.
|
|
47
47
|
*/
|
|
48
48
|
export declare function parseFloat(value: string, locale?: string | null): number | false;
|
|
49
49
|
/**
|
|
50
50
|
* Convert the given number to ordinal form.
|
|
51
51
|
*
|
|
52
|
-
* @param value The number to convert.
|
|
53
|
-
* @param locale The locale to use for determining ordinal rules.
|
|
52
|
+
* @param value - The number to convert.
|
|
53
|
+
* @param locale - The locale to use for determining ordinal rules.
|
|
54
54
|
* @returns The number in ordinal form.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
@@ -64,10 +64,10 @@ export declare function ordinal(value: number, locale?: string | null): string;
|
|
|
64
64
|
/**
|
|
65
65
|
* Convert the given number to its percentage equivalent.
|
|
66
66
|
*
|
|
67
|
-
* @param number The number to convert.
|
|
68
|
-
* @param precision The number of decimal places to use.
|
|
69
|
-
* @param maxPrecision The maximum number of decimal places to use.
|
|
70
|
-
* @param locale The locale to use for formatting.
|
|
67
|
+
* @param number - The number to convert.
|
|
68
|
+
* @param precision - The number of decimal places to use.
|
|
69
|
+
* @param maxPrecision - The maximum number of decimal places to use.
|
|
70
|
+
* @param locale - The locale to use for formatting.
|
|
71
71
|
* @returns The formatted percentage string.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
@@ -80,10 +80,10 @@ export declare function percentage(number: number | string, precision?: number,
|
|
|
80
80
|
/**
|
|
81
81
|
* Convert the given number to its currency equivalent.
|
|
82
82
|
*
|
|
83
|
-
* @param amount The amount to convert.
|
|
84
|
-
* @param currencyCode The currency code to use (e.g. "USD", "EUR").
|
|
85
|
-
* @param locale The locale to use for formatting.
|
|
86
|
-
* @param precision The number of decimal places to use.
|
|
83
|
+
* @param amount - The amount to convert.
|
|
84
|
+
* @param currencyCode - The currency code to use (e.g. "USD", "EUR").
|
|
85
|
+
* @param locale - The locale to use for formatting.
|
|
86
|
+
* @param precision - The number of decimal places to use.
|
|
87
87
|
* @returns The formatted currency string.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
@@ -96,9 +96,9 @@ export declare function currency(amount: number | string, currencyCode?: string,
|
|
|
96
96
|
/**
|
|
97
97
|
* Convert the given number to its file size equivalent.
|
|
98
98
|
*
|
|
99
|
-
* @param bytes The number of bytes.
|
|
100
|
-
* @param precision The number of decimal places to use.
|
|
101
|
-
* @param maxPrecision The maximum number of decimal places to use.
|
|
99
|
+
* @param bytes - The number of bytes.
|
|
100
|
+
* @param precision - The number of decimal places to use.
|
|
101
|
+
* @param maxPrecision - The maximum number of decimal places to use.
|
|
102
102
|
* @returns The formatted file size string.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
@@ -111,9 +111,9 @@ export declare function fileSize(bytes: number | string, precision?: number, max
|
|
|
111
111
|
/**
|
|
112
112
|
* Convert the number to its human-readable equivalent.
|
|
113
113
|
*
|
|
114
|
-
* @param value The number to convert.
|
|
115
|
-
* @param precision The number of decimal places to use.
|
|
116
|
-
* @param maxPrecision The maximum number of decimal places to use.
|
|
114
|
+
* @param value - The number to convert.
|
|
115
|
+
* @param precision - The number of decimal places to use.
|
|
116
|
+
* @param maxPrecision - The maximum number of decimal places to use.
|
|
117
117
|
*
|
|
118
118
|
* @example
|
|
119
119
|
*
|
|
@@ -125,10 +125,10 @@ export declare function forHumans(value: number, precision?: number, maxPrecisio
|
|
|
125
125
|
/**
|
|
126
126
|
* Convert the number to its human-readable equivalent.
|
|
127
127
|
*
|
|
128
|
-
* @param value The number to convert.
|
|
129
|
-
* @param precision The number of decimal places to use.
|
|
130
|
-
* @param maxPrecision The maximum number of decimal places to use.
|
|
131
|
-
* @param units Custom units mapping (exponent to suffix).
|
|
128
|
+
* @param value - The number to convert.
|
|
129
|
+
* @param precision - The number of decimal places to use.
|
|
130
|
+
* @param maxPrecision - The maximum number of decimal places to use.
|
|
131
|
+
* @param units - Custom units mapping (exponent to suffix).
|
|
132
132
|
* @returns The summarized number string.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
@@ -141,9 +141,9 @@ export declare function summarize(value: number, precision?: number, maxPrecisio
|
|
|
141
141
|
/**
|
|
142
142
|
* Clamp the given number between the given minimum and maximum.
|
|
143
143
|
*
|
|
144
|
-
* @param value The number to clamp.
|
|
145
|
-
* @param min The minimum value.
|
|
146
|
-
* @param max The maximum value.
|
|
144
|
+
* @param value - The number to clamp.
|
|
145
|
+
* @param min - The minimum value.
|
|
146
|
+
* @param max - The maximum value.
|
|
147
147
|
* @returns The clamped number.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
@@ -156,10 +156,10 @@ export declare function clamp(value: number, min: number, max: number): number;
|
|
|
156
156
|
/**
|
|
157
157
|
* Split the given number into pairs of min/max values.
|
|
158
158
|
*
|
|
159
|
-
* @param to The maximum value.
|
|
160
|
-
* @param by The size of each pair.
|
|
161
|
-
* @param start The starting value.
|
|
162
|
-
* @param offset The offset to apply to the upper bound of each pair.
|
|
159
|
+
* @param to - The maximum value.
|
|
160
|
+
* @param by - The size of each pair.
|
|
161
|
+
* @param start - The starting value.
|
|
162
|
+
* @param offset - The offset to apply to the upper bound of each pair.
|
|
163
163
|
* @returns An array of [min, max] pairs.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
@@ -170,7 +170,7 @@ export declare function pairs(to: number, by: number, start?: number, offset?: n
|
|
|
170
170
|
/**
|
|
171
171
|
* Remove any trailing zero digits after the decimal point of the given number.
|
|
172
172
|
*
|
|
173
|
-
* @param value The number to trim.
|
|
173
|
+
* @param value - The number to trim.
|
|
174
174
|
* @returns The trimmed number.
|
|
175
175
|
*
|
|
176
176
|
* @example
|
|
@@ -182,8 +182,8 @@ export declare function trim(value: number): number;
|
|
|
182
182
|
/**
|
|
183
183
|
* Convert a duration in minutes to a human-readable format.
|
|
184
184
|
*
|
|
185
|
-
* @param minutes The duration in minutes.
|
|
186
|
-
* @param round Whether to round to the nearest unit.
|
|
185
|
+
* @param minutes - The duration in minutes.
|
|
186
|
+
* @param round - Whether to round to the nearest unit.
|
|
187
187
|
* @returns The human-readable duration string.
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
@@ -208,8 +208,8 @@ export declare function secondsToHuman(seconds: number | string, round?: boolean
|
|
|
208
208
|
/**
|
|
209
209
|
* Execute the given callback using the given locale.
|
|
210
210
|
*
|
|
211
|
-
* @param locale The locale to use.
|
|
212
|
-
* @param callback The callback to execute.
|
|
211
|
+
* @param locale - The locale to use.
|
|
212
|
+
* @param callback - The callback to execute.
|
|
213
213
|
* @returns The result of the callback.
|
|
214
214
|
*
|
|
215
215
|
* @example
|
|
@@ -218,12 +218,12 @@ export declare function secondsToHuman(seconds: number | string, round?: boolean
|
|
|
218
218
|
* return format(1234.56);
|
|
219
219
|
* }); // "1 234,56"
|
|
220
220
|
*/
|
|
221
|
-
export declare function withLocale(locale: string, callback: () =>
|
|
221
|
+
export declare function withLocale<TReturn>(locale: string, callback: () => TReturn): TReturn | void;
|
|
222
222
|
/**
|
|
223
223
|
* Execute the given callback using the given currency.
|
|
224
224
|
*
|
|
225
|
-
* @param currency The currency to use.
|
|
226
|
-
* @param callback The callback to execute.
|
|
225
|
+
* @param currency - The currency to use.
|
|
226
|
+
* @param callback - The callback to execute.
|
|
227
227
|
* @returns The result of the callback.
|
|
228
228
|
*
|
|
229
229
|
* @example
|
|
@@ -232,18 +232,18 @@ export declare function withLocale(locale: string, callback: () => unknown): unk
|
|
|
232
232
|
* return format(1234.56);
|
|
233
233
|
* }); // "€1,234.56"
|
|
234
234
|
*/
|
|
235
|
-
export declare function withCurrency(currency: string, callback: () =>
|
|
235
|
+
export declare function withCurrency<TReturn>(currency: string, callback: () => TReturn): TReturn | void;
|
|
236
236
|
/**
|
|
237
237
|
* Set the default locale.
|
|
238
238
|
*
|
|
239
|
-
* @param locale The locale to set.
|
|
239
|
+
* @param locale - The locale to set.
|
|
240
240
|
* @returns void
|
|
241
241
|
*/
|
|
242
242
|
export declare function useLocale(locale: string): void;
|
|
243
243
|
/**
|
|
244
244
|
* Set the default currency.
|
|
245
245
|
*
|
|
246
|
-
* @param currency The currency to set.
|
|
246
|
+
* @param currency - The currency to set.
|
|
247
247
|
* @returns void
|
|
248
248
|
*/
|
|
249
249
|
export declare function useCurrency(currency: string): void;
|
package/dist/num.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"num.d.ts","sourceRoot":"","sources":["../src/num.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CAClB,MAAM,EAAE,MAAM,EACd,SAAS,GAAE,MAAM,GAAG,IAAW,EAC/B,YAAY,GAAE,MAAM,GAAG,IAAW,EAClC,MAAM,GAAE,MAAM,GAAG,IAAW,GAC7B,MAAM,GAAG,KAAK,CAmBhB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW,GAAG,MAAM,CA2DzE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CACpB,KAAK,EAAE,MAAM,EACb,MAAM,GAAE,MAAM,GAAG,IAAW,GAC7B,MAAM,GAAG,KAAK,CAQhB;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACtB,KAAK,EAAE,MAAM,EACb,MAAM,GAAE,MAAM,GAAG,IAAW,GAC7B,MAAM,GAAG,KAAK,CAEhB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW,GAAG,MAAM,CAwC3E;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CACtB,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,SAAS,GAAE,MAAU,EACrB,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;;;;;GAUG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE1C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAC1B,OAAO,EAAE,MAAM,GAAG,MAAM,EACxB,KAAK,GAAE,OAAc,GACtB,MAAM,CAIR;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAC1B,OAAO,EAAE,MAAM,GAAG,MAAM,EACxB,KAAK,GAAE,OAAc,GACtB,MAAM,CAoDR;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAC9B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,OAAO,GACxB,OAAO,GAAG,IAAI,CAUhB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAChC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,OAAO,GACxB,OAAO,GAAG,IAAI,CAUhB;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE9C;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAElD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tolki/num",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Utilities for working with numbers similar to Laravel's Num class facade.",
|
|
5
5
|
"author": "Abraham Arango <https://github.com/abetwothree>",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"homepage": "https://tolki.abe.dev/numbers/",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "git+https://github.com/abetwothree/tolki.git",
|
|
@@ -27,10 +28,10 @@
|
|
|
27
28
|
"@tolki/utils": "^1.0.0"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
|
-
"to-words": "^4.
|
|
31
|
+
"to-words": "^4.10.0"
|
|
31
32
|
},
|
|
32
33
|
"peerDependencies": {
|
|
33
|
-
"to-words": "^4.
|
|
34
|
+
"to-words": "^4.10.0"
|
|
34
35
|
},
|
|
35
36
|
"files": [
|
|
36
37
|
"dist"
|