UNPKG

lodash.invertby

Version:

The lodash method `_.invertBy` exported as a module.

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