@bnidev/js-utils
    Preparing search index...

      @bnidev/js-utils

      Utility functions for working with arrays, including flattening, filtering, and more.

      chunkArray
      compactArray
      differenceArray
      flattenArray
      intersectionArray
      shuffleArray
      uniqueArray

      Utility functions for handling asynchronous operations, such as promises, async/await, and concurrency control.

      retryAsyncFn
      timeoutAsyncFn
      wait

      Utility functions for working with colors, including hex and RGB conversions.

      darken
      hexToRgb
      lighten
      rgbToHex

      Utility functions for working with dates and times, including formatting and validation.

      formatDate
      isValidDate
      relativeTime

      Utility functions for working with the Document Object Model (DOM), including element selection, manipulation, and event handling.

      LoadModulesOptions
      focusElement
      getElementDimensions
      getFocusableElements
      isElementInViewport
      lockBodyScroll
      onElementResize
      onOrientationChange
      onResize
      onWindowResize
      scrollToElementAfterRender
      toggleInertAround
      unlockBodyScroll
      waitForElementRemoved
      waitForVisibleElement
      DistanceUnit
      degreesToRadians
      distance
      haversineDistance
      pointInCircle
      radiansToDegrees

      Utility functions for working with objects, including deep cloning, merging, and property manipulation.

      deepClone
      defaults
      getNestedValue
      invert
      isEmpty
      mapValues
      merge
      omit
      pick
      setNestedValue
      RgbColor
      loadModules
      sanitizeHtml

      Utility functions for sanitizing and validating data, such as JSON, HTML, and URLs, to prevent security issues like XSS and injection attacks.

      sanitizeJson
      sanitizeUrl

      Utility functions for working with browser storage mechanisms, including cookies and web storage.

      getCookie
      getStorage
      setCookie
      setStorage

      Utility functions for string manipulation, including formatting, parsing, and validation.

      camelCase
      capitalize
      escapeHtml
      kebabCase
      repeat
      slugify
      snakeCase
      stripHtmlTags
      template
      truncate

      Utility functions for managing timing-related tasks, such as throttling, debouncing, and timeouts.

      IntervalFn
      debounceFn
      everyNthCall
      throttleFn

      Utility functions for validating data types, formats, and structures, including checks for equality, URLs, and more.

      isEmail
      isEqual
      isUrl