A Comprehensive collection of powerful array utility functions for JavaScript developers. Simplify your array operations with functions for sum, average, max, min, removing duplicates, finding unique elements, and merging arrays without duplicates.
You can install array-utils
using npm
npm install array-utils-mayur
- sum(arr): Calculate the sum of elements in an array.
- average(arr): Calculate the average of elements in an array.
- max(arr): Find the maximum value in an array.
- min(arr): Find the minimum value in an array.
- removeDuplicates(arr): Remove duplicates from an array.
- uniqueElements(arr): Find unique elements in an array.
- mergeArraysWithoutDuplicates(arr1, arr2): Merge two arrays without duplicates.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any bugs or issues, please report them on GitHub Issues.
Contributions are welcome! If you have any improvements or additional utility functions to add, feel free to submit a pull request.