Wondering what’s next for npm?Check out our public roadmap! »

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.

Install

npm i arr-module

DownloadsWeekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

4.36 kB

Total Files

4

Last publish

Collaborators

  • avatar