react-router-dom : DOM bindings for React Router. You can installing react-router-dom 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 react-router-dom $ sudo npm install -g react-router-dom
If want to update the react-router-dom package execute the command as below,
$ sudo npm update react-router-dom
Update package globally,
$ npm install -g react-router-dom
$ sudo git clone https://github.com/rektide/react-router-dom.git
$ sudo npm install -g ./react-router-dom
react-router-dom@4.2.2 /usr/lib/node_modules/react-router-dom
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-router-dom
| Package Name | react-router-dom |
| Version | 4.2.2 |
| Description | DOM bindings for React Router |
| Released Date | 2017-08-25T00:09:28.151Z |
| Published by | timdorr |
| How to Learn | https://www.npmjs.com/package/react-router-dom/tutorial |