How to Install xoauth2 NPM Packages on Ubuntu / Debian

How to Install xoauth2 software package in NPM Packages

xoauth2 : XOAuth2 token generation for accessing GMail SMTP and IMAP. You can installing xoauth2 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 xoauth2
$ sudo npm install -g xoauth2

If want to update the xoauth2 package execute the command as below,

$ sudo npm update xoauth2

Update package globally,

$ npm install -g xoauth2

Git clone:

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

xoauth2@1.2.0 /usr/lib/node_modules/xoauth2

How to remove xoauth2 package :

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

$ sudo npm uninstall xoauth2

Basic Information of xoauth2 NPM Package:

Package Name xoauth2
Version 1.2.0
Description XOAuth2 token generation for accessing GMail SMTP and IMAP
Released Date 2016-07-29T08:07:31.669Z
Published by andris
How to Learn https://www.npmjs.com/package/xoauth2/tutorial