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