Package Exports
- arr-module
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (arr-module) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.