@accitdg/web-helpers 0.0.16 → 0.0.17
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/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -252,6 +252,7 @@ const short = createPayload2({ payload: { x: 1 } });
|
|
|
252
252
|
```
|
|
253
253
|
|
|
254
254
|
### formatNumberWithCommas(number: number): string
|
|
255
|
+
|
|
255
256
|
Formats a number with comma separators for thousands, preserving decimal places.
|
|
256
257
|
|
|
257
258
|
Parameters:
|
|
@@ -284,7 +285,7 @@ Converts a string to title case, capitalizing the first letter of each word and
|
|
|
284
285
|
|
|
285
286
|
**Example:**
|
|
286
287
|
|
|
287
|
-
|
|
288
|
+
````javascript
|
|
288
289
|
webHelpers.titleCase("hello world");
|
|
289
290
|
// Output: "Hello World"
|
|
290
291
|
|
|
@@ -327,7 +328,7 @@ webHelpers.maskFormatPhilippineNumber("09171234");
|
|
|
327
328
|
|
|
328
329
|
webHelpers.maskFormatPhilippineNumber("(0917) 123-4567");
|
|
329
330
|
// Output: "+63 9171 2345 67"
|
|
330
|
-
|
|
331
|
+
````
|
|
331
332
|
|
|
332
333
|
## License
|
|
333
334
|
|