UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

6 lines (4 loc) 92 B
import { sum } from './sum' export function mean(list){ return sum(list) / list.length }