How to Install cookie-session NPM Packages on Ubuntu / Debian

How to Install cookie-session software package in NPM Packages

cookie-session : cookie session middleware. You can installing cookie-session 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 cookie-session
$ sudo npm install -g cookie-session

If want to update the cookie-session package execute the command as below,

$ sudo npm update cookie-session

Update package globally,

$ npm install -g cookie-session

Git clone:

$ sudo  git clone https://github.com/rektide/cookie-session.git
$ sudo  npm install -g ./cookie-session

cookie-session@2.0.0-beta.3 /usr/lib/node_modules/cookie-session

How to remove cookie-session package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall cookie-session

Basic Information of cookie-session NPM Package:

Package Name cookie-session
Version 2.0.0-beta.3
Description cookie session middleware
Released Date 2017-10-13T14:02:01.570Z
Published by dougwilson
How to Learn https://www.npmjs.com/package/cookie-session/tutorial