@esmate/utils 1.3.1 → 1.3.2
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 +6 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,18 +10,9 @@ utilities through a unified interface.
|
|
|
10
10
|
npm install @esmate/utils
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
## Features
|
|
14
|
-
|
|
15
|
-
- **es-toolkit**: Modern, high-performance utility functions
|
|
16
|
-
- **Lodash compatibility**: Familiar lodash functions reimplemented with es-toolkit
|
|
17
|
-
- **Math operations**: Comprehensive mathematical utilities via math.js
|
|
18
|
-
- **String utilities**: Advanced string manipulation including title case conversion and typo correction
|
|
19
|
-
|
|
20
13
|
---
|
|
21
14
|
|
|
22
|
-
##
|
|
23
|
-
|
|
24
|
-
### ESToolkit Utilities
|
|
15
|
+
## ESToolkit Utilities
|
|
25
16
|
|
|
26
17
|
Access [es-toolkit](https://es-toolkit.dev/reference/array/at.html) functions through the main package export.
|
|
27
18
|
|
|
@@ -33,7 +24,7 @@ import { delay, invariant } from "@esmate/utils";
|
|
|
33
24
|
|
|
34
25
|
---
|
|
35
26
|
|
|
36
|
-
|
|
27
|
+
## Lodash Utilities
|
|
37
28
|
|
|
38
29
|
Access [lodash](https://lodash.com/docs) functions reimplemented using es-toolkit's compatibility mode for familiar,
|
|
39
30
|
drop-in replacements.
|
|
@@ -46,7 +37,7 @@ import { chunk, debounce } from "@esmate/utils/lodash";
|
|
|
46
37
|
|
|
47
38
|
---
|
|
48
39
|
|
|
49
|
-
|
|
40
|
+
## Math Utilities
|
|
50
41
|
|
|
51
42
|
Leverage the full power of [math.js](https://mathjs.org/docs/index.html) for mathematical operations and calculations.
|
|
52
43
|
|
|
@@ -58,7 +49,7 @@ import { round, sqrt } from "@esmate/utils/math";
|
|
|
58
49
|
|
|
59
50
|
---
|
|
60
51
|
|
|
61
|
-
|
|
52
|
+
## String Utilities
|
|
62
53
|
|
|
63
54
|
Access **string** utilities for common string operations.
|
|
64
55
|
|
|
@@ -91,3 +82,5 @@ import { fixTypos } from "@esmate/utils/string";
|
|
|
91
82
|
|
|
92
83
|
const result = fixTypos("This is a text with typos..."); // "This is a text with typos…"
|
|
93
84
|
```
|
|
85
|
+
|
|
86
|
+
---
|