19 lines
460 B
Markdown
19 lines
460 B
Markdown
|
# lodash.groupby v4.6.0
|
||
|
|
||
|
The [lodash](https://lodash.com/) method `_.groupBy` exported as a [Node.js](https://nodejs.org/) module.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
Using npm:
|
||
|
```bash
|
||
|
$ {sudo -H} npm i -g npm
|
||
|
$ npm i --save lodash.groupby
|
||
|
```
|
||
|
|
||
|
In Node.js:
|
||
|
```js
|
||
|
var groupBy = require('lodash.groupby');
|
||
|
```
|
||
|
|
||
|
See the [documentation](https://lodash.com/docs#groupBy) or [package source](https://github.com/lodash/lodash/blob/4.6.0-npm-packages/lodash.groupby) for more details.
|