AndreasBriese/underscore — comment on commit 4764b3d4c86d3bcfa1d944211c1e92eb4682e854
File:  line 0
By AndreasBriese:

four functions to complete the _underscore.js library:
sum: sum of numerical object elements
mean: aritmethic mean of numerical object elements
median: median (center element) of a sorted object
nrange: enhanced range function returning an array of the specified range

usage:
node.js
require "underscore"
require "underscoreAddon"

in a html file:

Note: make sure underscore is loaded before underscoreAddon.