is-regexp : Check whether a variable is a regular expression. You can installing is-regexp npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install is-regexp $ sudo npm install -g is-regexp
If want to update the is-regexp package execute the command as below,
$ sudo npm update is-regexp
Update package globally,
$ npm install -g is-regexp
$ sudo git clone https://github.com/rektide/is-regexp.git
$ sudo npm install -g ./is-regexp
is-regexp@1.0.0 /usr/lib/node_modules/is-regexp
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-regexp
Package Name | is-regexp |
Version | 1.0.0 |
Description | Check whether a variable is a regular expression |
Released Date | 2014-06-11T09:12:27.882Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/is-regexp/tutorial |