utils
utils library - Utility functions for common development.
Installation
npm i @slck/utils --saveMethods
- isNullOrUndefined
- isDate
- isObject
- isEmpty
- isEmptyInDepth
- hasValidLength
- isNullOrUndefinedEmpty
- leadZeroForMonthOrDay
- daysTimeFromSeconds
- objectNonShadowCopy
- remainingDaysHoursFormTwoDates
- toCamelCaseKeys
- objectDifferenceByProps
- genericObjectTypeFn
- compareObjectArraysWithTypeSafe
- shiftToFristWith
- checkObjectPropValueExistsInCollection
- convertMinutesToTimeText
- firstLetterFromString
- constructTreeRecursively
- trimObjectValues
- hasValidDateFn
- generateRandomColorFn
- extractCommonAndDifferentValues
- isAnyRecordWithEmptyValues
- isDateLike
- hasDuplicateByKeys
- generateMultiplesInRange
- selectMatchingObjectsByKeys
- toReadableTitleTypes
- GenericObjectType
- ErrorType
- EndpointConfig