connect-slashes : Trailing slash redirect middleware for Connect and Express.js. You can installing connect-slashes 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 connect-slashes $ sudo npm install -g connect-slashes
If want to update the connect-slashes package execute the command as below,
$ sudo npm update connect-slashes
Update package globally,
$ npm install -g connect-slashes
$ sudo git clone https://github.com/rektide/connect-slashes.git
$ sudo npm install -g ./connect-slashes
connect-slashes@1.3.1 /usr/lib/node_modules/connect-slashes
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall connect-slashes
Package Name | connect-slashes |
Version | 1.3.1 |
Description | Trailing slash redirect middleware for Connect and Express.js |
Released Date | 2015-05-29T09:21:42.874Z |
Published by | avinoamr |
How to Learn | https://www.npmjs.com/package/connect-slashes/tutorial |