How to Install home-or-tmp NPM Packages on Ubuntu / Debian

How to Install home-or-tmp software package in NPM Packages

home-or-tmp : Get the user home directory with fallback to the system temp directory. You can installing home-or-tmp 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 home-or-tmp
$ sudo npm install -g home-or-tmp

If want to update the home-or-tmp package execute the command as below,

$ sudo npm update home-or-tmp

Update package globally,

$ npm install -g home-or-tmp

Git clone:

$ sudo  git clone https://github.com/rektide/home-or-tmp.git
$ sudo  npm install -g ./home-or-tmp

home-or-tmp@3.0.0 /usr/lib/node_modules/home-or-tmp

How to remove home-or-tmp package :

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

$ sudo npm uninstall home-or-tmp

Basic Information of home-or-tmp NPM Package:

Package Name home-or-tmp
Version 3.0.0
Description Get the user home directory with fallback to the system temp directory
Released Date 2017-01-21T09:19:43.615Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/home-or-tmp/tutorial