lodash.countby

The lodash method <code>_.countBy</code> exported as a module.

lodash.countby v4.0.3

The lodash method _.countBy exported as a Node.js module.

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.countby

In Node.js:

var countBy = require('lodash.countby');

See the documentation or package source for more details.