Home

Awesome

math-average

Get the average of numbers

Install

npm install math-average

Usage

import mathAverage from 'math-average';

mathAverage(1, 3);
//=> 2

mathAverage([1, 3]);
//=> 2

Related