utilixs
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i utilixs

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

18.5 kB

Total Files

7

Last publish

Collaborators

  • verleihnix