UNPKG

@slck/utils

Version:

utils library - Utility functions for common development.

49 lines (41 loc) 1.05 kB
# utils utils library - Utility functions for common development. # Installation ```bash npm i @slck/utils --save ``` # Methods - 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 - toReadableTitle # Types - GenericObjectType - ErrorType - EndpointConfig