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