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