sentiment : AFINN-based sentiment analysis for Node.js. You can installing sentiment 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 sentiment $ sudo npm install -g sentiment
If want to update the sentiment package execute the command as below,
$ sudo npm update sentiment
Update package globally,
$ npm install -g sentiment
$ sudo git clone https://github.com/rektide/sentiment.git
$ sudo npm install -g ./sentiment
sentiment@4.1.0 /usr/lib/node_modules/sentiment
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall sentiment
| Package Name | sentiment |
| Version | 4.1.0 |
| Description | AFINN-based sentiment analysis for Node.js |
| Released Date | 2017-10-10T10:22:35.771Z |
| Published by | diy |
| How to Learn | https://www.npmjs.com/package/sentiment/tutorial |