The basic array class has .map, .forEach, .filter, and .reduce, but .groupBy i noticably absent, preventing me f
.map
.forEach
.filter
.reduce
.groupBy
A good option might be lodash.
lodash
npm install --save lodash npm install --save-dev @types/lodash
Just import it import * as _ from 'lodash' and use.
import * as _ from 'lodash'
Example
_.groupBy(..) _.map(..) _.filter(..)