array-utils-mayur
v1.0.1
Published
Array_utils : A Comprehensive collection of powerfull array utility functions for javascript developer, simiplify your Array operations with functions for sum, average, max, min, removing duplicates, finding unique elements, and merging array without dupl
Downloads
5
Maintainers
Readme
array-utils
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.
Installation
You can install array-utils
using npm
npm install array-utils-mayur
Functions
- 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.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Bugs and Issues
If you encounter any bugs or issues, please report them on GitHub Issues.
Contributions
Contributions are welcome! If you have any improvements or additional utility functions to add, feel free to submit a pull request.