trim : Trim string whitespace. You can installing trim 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 trim $ sudo npm install -g trim
If want to update the trim package execute the command as below,
$ sudo npm update trim
Update package globally,
$ npm install -g trim
$ sudo git clone https://github.com/rektide/trim.git
$ sudo npm install -g ./trim
trim@0.0.1 /usr/lib/node_modules/trim
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall trim
| Package Name | trim |
| Version | 0.0.1 |
| Description | Trim string whitespace |
| Released Date | 2013-03-12T17:59:22.296Z |
| Published by | tjholowaychuk |
| How to Learn | https://www.npmjs.com/package/trim/tutorial |