@esmate/utils 1.3.2 → 1.3.3
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ import { fixTypos, titleize } from "@esmate/utils";
|
|
|
59
59
|
|
|
60
60
|
📚 **Documentation**: [View source](https://github.com/VienDinhCom/esmate/blob/main/packages/utils/src/string.ts)
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
### `titleize()`
|
|
63
63
|
|
|
64
64
|
Converts strings to proper title case using the [title](https://www.npmjs.com/package/title) package.
|
|
65
65
|
|
|
@@ -73,7 +73,7 @@ const chicagoTitle = titleize("love of my life", { style: "chicago" }); // "Love
|
|
|
73
73
|
const specialTitle = titleize("i love ESMate", { special: ["ESMate"] }); // "I Love ESMate"
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
### `fixTypos()`
|
|
77
77
|
|
|
78
78
|
Automatically corrects common typographical errors using [typopo](https://www.npmjs.com/package/typopo).
|
|
79
79
|
|