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