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