homedir : Platform agnostic user home directory path resolution for Node.js.. You can installing homedir 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 homedir $ sudo npm install -g homedir
If want to update the homedir package execute the command as below,
$ sudo npm update homedir
Update package globally,
$ npm install -g homedir
$ sudo git clone https://github.com/rektide/homedir.git
$ sudo npm install -g ./homedir
homedir@0.6.0 /usr/lib/node_modules/homedir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall homedir
Package Name | homedir |
Version | 0.6.0 |
Description | Platform agnostic user home directory path resolution for Node.js. |
Released Date | 2014-11-14T03:06:13.976Z |
Published by | wilmoore |
How to Learn | https://www.npmjs.com/package/homedir/tutorial |