1.0.1 • Published 1 year ago

opo-iki v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Simple usefull helper

isNullOrUndefined

  • Checks if a value is null or undefined.

isObjectEmpty

  • Checks if an object is empty.

capitalize

  • Capitalizes the first letter of a string.

debounce

  • Executes a function after a specified delay, and cancels previous executions if called again within that delay.

deepCopy

  • Creates a deep copy of an object.

flattenArray

  • Flattens a nested array into a single array.

uniqueValues

  • Returns an array of unique values from an array.

chunkArray

  • Splits an array into chunks of a specified size.

shuffleArray

  • Shuffles the elements of an array.

sortByKey

  • Sorts an array of objects by a specified key.
1.0.1

1 year ago

1.0.0

1 year ago