Simply-Utils Documentation
Documentation
Github
Documentation
AWS
Modules
batchWriteDynamodbItems
decodeCloudWatchLogEventPayload
listAllDynamodbTables
listAllS3Objects
queryOrScanAllDynamodbItems
waitForAWSService
algo
Modules
getTableRowsSortStateReducer
sortTableRowsByEachCell
array
Modules
getArraySortNumber
getNextIndex
isArr
shuffle
sortAlphabetically
swapArrayItems
arrayBuffer
Modules
arrayBufferToBase64DataUrl
arrayBufferToBlobUrl
arrayBufferToString
stringToArrayBuffer
async
Modules
callPromiseWithDelay
pipeAsync
retry
wait
dateTime
Modules
addDays
compareISOTimestamp
fromDateTimeLocal
generateDateTimeID
getFirstDateOfMonth
getFirstMsOfDate
getLastDateOfMonth
getLastMsOfDate
getLocalizedMonth
getLocalizedWeekday
getLocalizedWeekdays
getQuarter
getQuarterOffset
getRelativeDateTime
getTimeInSeconds
getTimeStepsInSeconds
getWeekOfYear
hasLasted
isDate
isDateBetween
isDateLocal
isDateString
isDateTimeLocal
isISOTimestamp
isSameDay
isSameMonth
isTimeLocal
toDateTimeLocal
toFullYear
toHHMMSS
toYYYYMM
dom
Modules
autoGrowTextArea
copyToClipboard
getDOMNodesUnder
getDOMTextNodesUnder
getFilesFromClipboardEvent
getInnerTextFromHTMLStr
getParentNodeByClassName
getScrollYFromElementOrWindow
isUserInputElement
isWebkitBrowser
measureScrollbarWidth
parseUrlsInHTMLStr
replaceTextsInHTMLStr
replaceUrlsInHTMLStr
scrollIntoView
traverseParentNodeBy
traverseParentNodeByClassName
func
Modules
compose
flip
pipe
i18next
Modules
getTranslatedList
getTranslatedSections
math
Modules
calculateCenteredRange
divideDeep
getClosestNumber
getMaxLengthCombos
getRandomInt
getStepsToTotal
media
Modules
readImageProps
readVideoProps
network
Modules
calculateUploadTimeout
fromQueryString
getCurrentPage
getNextPage
isUrl
normalizeUrl
replaceLinks
replaceUrls
toQueryString
number
Modules
convertNumberBetweenMeasurementUnits
formatAsGroupedString
formatBankAccNum
formatByteSize
formatCardExp
formatCardNum
formatCreditCardNum
formatCreditCardSecurityCode
formatCurrency
formatCurrencyRange
formatCvc
formatLargeNumber
getCurrencySymbol
getNumberFromPercentageString
isEven
isNum
isNumStr
isOdd
shortenNumberWithUnit
zeroPadding
object
Modules
difference
forEach
getNonEmptyPropertiesCount
getNonEmptyPropertyKeys
hasEmptyObject
isDeepEmpty
isObj
pagination
Modules
calculatePageByScrollTop
getPageByRowIndex
isPageLeadingItem
isPageTrailingItem
polyfill
Modules
polyfillIntl
polyfillObjectFromEntries
polyfillObjectValuesEntries
reactDom
Modules
fadeOut
moveToNextSelectOption
preventEventPropagateToParent
requestSetValue
routing
Modules
getPathname
getPathParam
getRoutePathnameMatcher
getRoutePathnameValidator
getSearchParam
getSearchParams
matchRoutePathname
replacePathParams
scraping
Modules
launchPuppeteerBrowserSession
string
Modules
capitalizeWords
compareString
escapeSpecialCharacters
findLongestString
generateRandomString
hasSpecialCharacters
isFullWidthChar
isStr
keyValueStringToObject
parseLinesToChunks
removeSpaces
splitFirstMatch
truncate
variableChunkString
style
Modules
calculateFlexRatio
calculateHeightPercentageByAspectRatio
classNameToSelector
convertColorToRgbaArray
generateProgressiveColors
generateProgressiveColorsOfSameHue
generateRandomColor
generateRandomColors
getColorLuminance
getColorsContrastRatio
getColorWithAlpha
getFluidSize
getProgressiveColorsOfSameHueWithSteps
isSmallerThanBreakpoint
oppositeOrientation
parseCSSNumWithUnit
styledComponents
Modules
createHoverableOnlyCss
createRowColumnLayout
getChevronCss
getChromeScrollBarHiddenFixCss
getClearButtonDefaultStyleCss
getClearClickableCss
getClickableCss
getColumnFlexboxCss
getCrossIconCss
getDisabledCss
getFadeInAnimCss
getFadeOutAnimCss
getFadingAnimCss
getFixedSizeImgCss
getHideScrollBarCss
getPlusIconCss
getPopUpShadowCss
getRowFlexboxCss
getShakeAnimCss
getSquaredFixedSizeImgCss
getTextOverflowCss
getTriangleCss
getWebkitTouchScrollCss
mapColumnsFlexCss
telegram
Modules
sendTelegramMessage
sendTelegramMessages
utils
Modules
composeEnv
getEnvVar
parseBooleanStr
parseJSON
requestAnimationFrameRecursive
setTimeoutRecursive
setTimerRecursive
tryUntil
validators
Modules
createKeyValidator
getSpecialCharsRegex
isBankAccNum
isBase64Url
isBlobUrl
isBool
isCardExp
isCardNum
isCvc
isDirName
isDomain
isEmail
isFunc
isID
isLink
isMinLengthAt
isNotEmptyText
isNull
isNullOrUndef
isNumOrStr
isPhone
isRepoBranchName
isRepoFullname
isUndef
isURLSafeStr
isValidCreditCardNum
isValidCreditCardSecurityCode
validateCaseInsensitiveKey
valueIn
Module
isNullOrUndef