1 | # lodash.keyby v4.6.0
|
2 |
|
3 | The [lodash](https://lodash.com/) method `_.keyBy` exported as a [Node.js](https://nodejs.org/) module.
|
4 |
|
5 | ## Installation
|
6 |
|
7 | Using npm:
|
8 | ```bash
|
9 | $ {sudo -H} npm i -g npm
|
10 | $ npm i --save lodash.keyby
|
11 | ```
|
12 |
|
13 | In Node.js:
|
14 | ```js
|
15 | var keyBy = require('lodash.keyby');
|
16 | ```
|
17 |
|
18 | See the [documentation](https://lodash.com/docs#keyBy) or [package source](https://github.com/lodash/lodash/blob/4.6.0-npm-packages/lodash.keyby) for more details.
|