arr-module

Array functions to manipulate arrays.

Usage no npm install needed!

<script type="module">
  import arrModule from 'https://cdn.skypack.dev/arr-module';
</script>

README

array-module

A simple module to manipulate arrays

How to Install

npm install array-module --save

## Instruction
var array = require('array-module');

Methods

sumArr

Sum of all the elements in the array.

avgArr

Average of all the elements in the array.

maxArr

Maximum of all the elements in the array.

minArr

Minimum of all the elements in the array.

arrUniq

Return array without duplicates.

arrUniqSort

Return array without duplicates and sorted in asc.

uniqStringArr

Return sorted array of strings.