The lodash method _.invokeMap
exported as a Node.js module.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.invokemap
In Node.js:
var invokeMap = require('lodash.invokemap');
See the documentation or package source for more details.