react-syntax-highlighter : sane syntax highlighting component for react with prismjs. You can installing react-syntax-highlighter 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-syntax-highlighter $ sudo npm install -g react-syntax-highlighter
If want to update the react-syntax-highlighter package execute the command as below,
$ sudo npm update react-syntax-highlighter
Update package globally,
$ npm install -g react-syntax-highlighter
$ sudo git clone https://github.com/rektide/react-syntax-highlighter.git
$ sudo npm install -g ./react-syntax-highlighter
react-syntax-highlighter@6.0.4 /usr/lib/node_modules/react-syntax-highlighter
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-syntax-highlighter
| Package Name | react-syntax-highlighter |
| Version | 6.0.4 |
| Description | sane syntax highlighting component for react with prismjs |
| Released Date | 2017-11-22T14:27:03.884Z |
| Published by | conorhastings |
| How to Learn | https://www.npmjs.com/package/react-syntax-highlighter/tutorial |