arr-module

0.0.2 • Public • Published

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.

Package Sidebar

Install

npm i arr-module

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

4.36 kB

Total Files

4

Last publish

Collaborators

  • aalekh_s