Search
@qntm-code/utils
A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.
v2.18.3 URL:
https://unpkg.com/@qntm-code/utils@2.18.3/dist/cjs/index.js
Open
Browse Files
TypeScript
isNullOrUndefined
isEmpty
isEqual
isNumber
randomNumberBetweenRange
random number between range
asyncForEach
async for each
delay
convertTimeUnits
convert time units
getToday
setEndOfDay
setEndOfHour
setEndOfMinute
setEndOfMonth
setEndOfSecond
setEndOfWeek
setEndOfYear
setStartOfDay
setStartOfHour
setStartOfMinute
setStartOfMonth
setStartOfSecond
setStartOfWeek
setStartOfYear
date getters
date setters
null
undefined
empty
string
equal
equality
array
object
async
forEach
for
each
convert
time
dates
date
milliseconds
seconds
minutes
hours
days
weeks
months
years
set
get
start
end
today
getScrollParent
scroll
parent
random
number
between
range
clone
deep clone
deep
equals
deep equals
fast
merge
deep merge
same date
isSameDate
deep-cmp
A deep object comparison library
v1.0.3 URL:
https://unpkg.com/deep-cmp@1.0.3/dist/index.js
Open
Browse Files
deep
comparison
compare
equals
strictSubset
partialSubset
qcompare
the fastest function for comparing two js objects compatible with es6
v1.4.7 URL:
https://unpkg.com/qcompare@1.4.7/index.js
Open
Browse Files
fast
fastest
deep
compare
equal
equals
deep-equal
deepequal
performance
fast-deep-equal
fast-equal
fast-equals
fast-compare
equal-object
compare-object
fastequal
fastequals
fastdeepequal
alpha-stringify
Serialize anything, and sort keys for equality comparison
v1.0.0 URL:
https://unpkg.com/alpha-stringify@1.0.0/build/index.js
Open
Browse Files
serialize
stringify
json
object
date
any
to
string
compare
deep
equals
equality
pop-equals
Polymorphic deep equals operator
v1.0.0 URL:
https://unpkg.com/pop-equals@1.0.0/pop-equals.js
Open
Browse Files
pop
polymorphic
operator
deep
equals