escape-regexp : Escape regular expression special characters. You can installing escape-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 escape-regexp $ sudo npm install -g escape-regexp
If want to update the escape-regexp package execute the command as below,
$ sudo npm update escape-regexp
Update package globally,
$ npm install -g escape-regexp
$ sudo git clone https://github.com/rektide/escape-regexp.git
$ sudo npm install -g ./escape-regexp
escape-regexp@0.0.1 /usr/lib/node_modules/escape-regexp
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall escape-regexp
Package Name | escape-regexp |
Version | 0.0.1 |
Description | Escape regular expression special characters |
Released Date | 2012-10-19T02:51:00.125Z |
Published by | tjholowaychuk |
How to Learn | https://www.npmjs.com/package/escape-regexp/tutorial |