You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`moveToIndex()` move array element to desired index
105
122
-`moveToLast()` move array element to last
106
123
-`normalizeNumber()` normalizes between 0 and 1
107
124
-`objectDiff()` get the difference between two objects
125
+
-`omit()` omit properties from object
108
126
- ⭐ `parseDate()` pass anything Date-Like, and get a JS Date back
127
+
-`pickObjectKeys()` pick specific keys from object
128
+
-`pickObjectValues()` pick specific values from object
109
129
-`pluck()` make array of value from object keys
110
130
-`promiseWithTimeout()` takes a promise, a timeoutMs, and an option error as arguments. Returns a new Promise that either resolves with the value of the input promise or rejects with the provided error or a default error message if the input promise does not resolve or reject within the specified timeoutMs.
131
+
-`removeUndefinedValues()` remove undefined values from object
111
132
-`scrambleText()` replace alpha chars with random chars
133
+
-`serialize()` serialize object to string
112
134
-`seriesAsync()` executes promises in series, and returns all results
113
135
-`setObjectPath()` set a value in an object by path
114
136
-`setUrlSearchParams()` set URL search params
@@ -126,6 +148,7 @@ Contributions always welcome!
126
148
-`formatNumber()` 1000 => "1,000" or "1K" or 0.112 => "11.2%"
127
149
-`formatPercentage()` 0.11 => "11%"
128
150
-`formatIndexProgress()` => "[2/10]"
151
+
-`formatProgress()` format progress as percentage
129
152
-`stringToCSSUnicode()` "hello" => "\000068\000065\00006c\00006c\00006f" use this for CSS
0 commit comments