Statistical utility to calculate geometric mean.
$ npm install --save gmean
Calculate Geometric Mean
const gmean = require('gmean');
let arr = [2, 4, 4];
let mean = gmean(arr); // 3.1748021039363983
This node module is available as open source software under the terms of the MIT License.