home-dir : Get home directory path on any platform. You can installing home-dir 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-dir $ sudo npm install -g home-dir
If want to update the home-dir package execute the command as below,
$ sudo npm update home-dir
Update package globally,
$ npm install -g home-dir
$ sudo git clone https://github.com/rektide/home-dir.git
$ sudo npm install -g ./home-dir
home-dir@1.0.0 /usr/lib/node_modules/home-dir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall home-dir
Package Name | home-dir |
Version | 1.0.0 |
Description | Get home directory path on any platform |
Released Date | 2015-01-21T15:29:58.840Z |
Published by | scottcorgan |
How to Learn | https://www.npmjs.com/package/home-dir/tutorial |