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