Common Utilities
  • Introduction ๐Ÿ‘‹
  • Getting Started
    • Installation ๐Ÿ“ฅ
    • Usage ๐Ÿ”ง
  • Utilities
    • Packages ๐Ÿ“ฆ
      • Debounce ๐Ÿ“
      • Filter-array๐Ÿงน
      • Merge-objects๐Ÿ‘ฏโ€โ™‚๏ธ
      • String-interpolation๐Ÿงต
      • Kebab-to-camel-string ๐Ÿข๐Ÿซ
      • Trim-whitespace โฌœ๏ธ
      • Wait-until-defined โŒš๏ธ
      • Compose ๐Ÿš‚
      • Repeat ๐Ÿ”
      • Pipe โ›“
      • Trace ๐Ÿ‘ค
    • Glossary ๐Ÿ“’
  • General
    • Comparision โš–๏ธ
    • Cites ๐Ÿ™
Powered by GitBook
On this page

Was this helpful?

  1. Utilities

Packages ๐Ÿ“ฆ

PreviousUsage ๐Ÿ”งNextDebounce ๐Ÿ“

Last updated 3 years ago

Was this helpful?

Common Utilities provides bite-sized packages for each common JavaScript utility. Use what it is needed without what is not.

Package

NPM Link

Description

passes function values until returning a final value

returns the first value of an array

passes function values until returning a final value (in the opposite order of compose)

functionally logs values

recursively replaces a value based on a certain length

removes duplicates from an array

determines if data is of object type

deeply merges 2 objects

interpolating variables in strings

returns a kebab string as a camel string

returns a string with trimmed whitespace

waits and checks for a callback function to returns true

waits a set amount of time before invoking a callback

Compose
Head
Pipe
Trace
Repeat
Filter-array
Is-object
Merge-objects
String-interpolation
Kebab-to-camel-string
Trim-whitespace
Wait-until-defined
Debounce
npm version
npm version
npm version
npm version
npm version
npm version
npm version
npm version
npm version
npm version
npm version
npm version
npm version