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