Jump to Content
Gladknee
API Reference
v1.17.1

Log InGladknee
API Reference
Log In
v1.17.1API Reference

introduction

  • Overview
  • Installation
  • Usage

Numbers

  • clampNumber
  • digits
  • mean
  • median
  • mode
  • ordinal
  • randomNumber
  • range
  • round
  • steps
  • sum

DATES AND TIME

  • TYPES
    • Duration
  • ago
  • dateFromDuration
  • dayName
  • duration
  • durationFromDates
  • fromNow
  • isPast
  • relativeTimeDiff
  • timeSince
  • timeUntil
  • todayEnd
  • todayStart

STRINGS

  • capitalize
  • endsWith
  • escapeString
  • isNumeric
  • isEqual
  • join
  • lazyIncludes
  • lowerCaseNoSpaces
  • mask
  • pad
  • plural
  • randomString
  • shave
  • slugify
  • startsWith
  • truncate
  • unescapeString

ARRAYS

  • arrayInto
  • bubbleSort
  • chunk
  • clampArray
  • combine
  • common
  • count
  • counts
  • countsBy
  • difference
  • everyNth
  • filterAsync
  • findValue
  • flatten
  • groupBy
  • intersection
  • insertionSort
  • intersection
  • isEqual
  • lazyIncludes
  • mapAsync
  • randomItem
  • randomItems
  • reduceAsync
  • reject
  • rejectAsync
  • repeatArray
  • rollingSum
  • safeSort
  • selectionSort
  • shave
  • shuffle
  • sortBy
  • steps
  • swapItems
  • uncommon
  • union
  • unionBy
  • unique
  • uniqueBy
  • updateAt

objects

  • deepCopy
  • getIn
  • groupByKeyValue
  • invert
  • isEqual
  • isObjectInArray
  • keyValueCounts
  • keyWhereValueIs
  • keyWithLargestValue
  • objectInto
  • objectToQueryParams
  • omitKeys
  • pickKeys
  • putNew
  • removeDuplicatesByKeyValue
  • sumOfKeyValue
  • sortByKeyValue
  • sortByKeyValues

functions

  • TYPES
    • AsyncFunc
    • Func
    • DebouncedFunction
  • createPipe
  • curry
  • debounce
  • limit
  • memoize
  • partial
  • pipe
  • retry

async

  • TYPES
    • Queue
  • createQueue
  • pause
  • throttle
  • withTimeout

browser

  • getCookie
  • getBrowserGeolocation
  • getURLQueryParams
  • saveTextToFileInBrowser
  • setCookie

misc

  • hexToRgb
  • loremIpsum
  • noOp
  • rgbToHex
  • stripHTML
Powered by 

AsyncFunc

type AsyncFunc = (...args: any) => Promise<any>