UNPKG

my-first-array-utils

Version:

A simple JavaScript package providing 10 useful array functionalities.

24 lines (17 loc) 846 B
# array-utils - A Collection of Array Utility Functions `my-first-array-utils` is a simple JavaScript package that provides a collection of useful array functions. It allows you to perform various operations like finding the maximum/minimum values, summing the elements, removing duplicates, sorting arrays, and much more. ## Features - **Find the Maximum Value in an Array** - **Find the Minimum Value in an Array** - **Sum of All Elements in an Array** - **Reverse an Array** - **Find the Index of an Element in an Array** - **Check if an Array Contains a Specific Element** - **Remove Duplicates from an Array** - **Sort an Array in Ascending Order** - **Merge Two Arrays** - **Check if an Array is Empty** ## Installation To install the package via npm, run the following command: ```bash npm install array-utils