How to Install escape-string-regexp NPM Packages on Ubuntu / Debian

How to Install escape-string-regexp software package in NPM Packages

escape-string-regexp : Escape RegExp special characters. You can installing escape-string-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-string-regexp
$ sudo npm install -g escape-string-regexp

If want to update the escape-string-regexp package execute the command as below,

$ sudo npm update escape-string-regexp

Update package globally,

$ npm install -g escape-string-regexp

Git clone:

$ sudo  git clone https://github.com/rektide/escape-string-regexp.git
$ sudo  npm install -g ./escape-string-regexp

escape-string-regexp@1.0.5 /usr/lib/node_modules/escape-string-regexp

How to remove escape-string-regexp package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall escape-string-regexp

Basic Information of escape-string-regexp NPM Package:

Package Name escape-string-regexp
Version 1.0.5
Description Escape RegExp special characters
Released Date 2016-02-21T12:55:17.074Z
Published by jbnicolai
How to Learn https://www.npmjs.com/package/escape-string-regexp/tutorial