array-utils-mayur

1.0.1 • Public • Published

array-utils

npm version License GitHub issues

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

  1. sum(arr): Calculate the sum of elements in an array.
  2. average(arr): Calculate the average of elements in an array.
  3. max(arr): Find the maximum value in an array.
  4. min(arr): Find the minimum value in an array.
  5. removeDuplicates(arr): Remove duplicates from an array.
  6. uniqueElements(arr): Find unique elements in an array.
  7. 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.

Package Sidebar

Install

npm i array-utils-mayur

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.48 kB

Total Files

3

Last publish

Collaborators

  • mayurpatil77