0.0.1 • Published 1 year ago

utilixs v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

utilixs 🚀

A collection of essential utility functions for JavaScript and TypeScript applications. This package provides a set of handy functions to simplify common programming tasks and improve code readability.

Features 📝

✅❌ Boolean Condition Functions:

  • all: Checks if all given conditions are true.

  • any (or either): Checks if at least one condition is true.

  • none: Checks if none of the conditions are true.

  • toggle: Toggles a boolean value.

📜 Array Functions:

  • shuffle: Shuffles the elements of an array. String Functions:

  • capitalize: Capitalizes the first letter of a string. Object Functions:

  • deepClone: Creates a deep copy of an object. Date Functions:

  • formatDate: Formats a Date object into a string.

🔢 Math Functions:

  • clamp: Clamps a numeric value within a specified range.
  • sum: Calculates the sum of numbers in an array.
  • range: Generates an array of numbers within a specified range.
0.0.1

1 year ago