UNPKG

446 BMarkdownView Raw
1# lodash.keyby v4.6.0
2
3The [lodash](https://lodash.com/) method `_.keyBy` exported as a [Node.js](https://nodejs.org/) module.
4
5## Installation
6
7Using npm:
8```bash
9$ {sudo -H} npm i -g npm
10$ npm i --save lodash.keyby
11```
12
13In Node.js:
14```js
15var keyBy = require('lodash.keyby');
16```
17
18See 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.