The lodash method `_.invert` exported as a module.
npm install lodash.invertThe lodash method _.invert exported as a Node.js module.
Using npm:
``bash`
$ {sudo -H} npm i -g npm
$ npm i --save lodash.invert
In Node.js:
`js``
var invert = require('lodash.invert');
See the documentation or package source for more details.