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

How to Install angular2-cookie software package in NPM Packages

angular2-cookie : Implementation of Angular 1.x $cookies service to Angular 2. You can installing angular2-cookie 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 angular2-cookie
$ sudo npm install -g angular2-cookie

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

$ sudo npm update angular2-cookie

Update package globally,

$ npm install -g angular2-cookie

Git clone:

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

angular2-cookie@1.2.6 /usr/lib/node_modules/angular2-cookie

How to remove angular2-cookie package :

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

$ sudo npm uninstall angular2-cookie

Basic Information of angular2-cookie NPM Package:

Package Name angular2-cookie
Version 1.2.6
Description Implementation of Angular 1.x $cookies service to Angular 2
Released Date 2016-12-20T10:44:53.295Z
Published by sa.alemdar
How to Learn https://www.npmjs.com/package/angular2-cookie/tutorial