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