@datorama/utils
    TypeScript icon, indicating that this package has built-in type declarations

    1.23.1 • Public • Published

    API reference can be found at: https://datorama.github.io/FE/utils

    Array

    • intersection
    • union
    • difference
    • differenceBy
    • findIndex
    • minBy
    • last
    • uniq
    • uniqBy
    • drop

    Coercion

    • toBoolean
    • toNumber
    • toString
    • coerceArray

    Collection

    • findKey
    • sortBy
    • find
    • forEach
    • map
    • keyBy
    • reject
    • groupBy
    • filter
    • size
    • rawDiff

    Function

    • throttle
    • debounce
    • curry
    • compose
    • partial

    Number

    • round
    • random
    • isFraction

    Object

    • get
    • has
    • mapValues
    • mapKeys
    • values
    • merge
    • diff
    • cloneDeep
    • omit
    • omitBy
    • deepEqual
    • invert

    String

    • escape
    • unescape
    • escapeRegExp
    • capitalize
    • camelCase
    • kebabCase
    • createGUID
    • isEmptyString

    Validators

    • isFunction
    • isObject
    • isEmpty
    • isNumber
    • isEqual
    • isString
    • isBoolean

    Enums

    • ContentType
    • KeyCodes

    Regex

    • validUrl

    Sort Comparators

    • dateCompare

    Keywords

    none

    Install

    npm i @datorama/utils

    DownloadsWeekly Downloads

    2

    Version

    1.23.1

    License

    MIT

    Unpacked Size

    718 kB

    Total Files

    87

    Last publish

    Collaborators

    • jmeguira
    • yonatanlevy
    • abh86
    • keinans
    • gurdotan
    • org86
    • epessach
    • iglikman
    • ashakked
    • lron
    • samerkinaan
    • amitb
    • nhaimov
    • eliran.aharoni
    • tidhar.peer
    • ritox
    • ofirb25
    • yousef.baba
    • netbasal
    • nina.mordakhay
    • kaufguy
    • idafna
    • shahar.kazaz