os-homedir : Node.js 4 `os.homedir()` ponyfill. You can installing os-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 os-homedir $ sudo npm install -g os-homedir
If want to update the os-homedir package execute the command as below,
$ sudo npm update os-homedir
Update package globally,
$ npm install -g os-homedir
$ sudo git clone https://github.com/rektide/os-homedir.git
$ sudo npm install -g ./os-homedir
os-homedir@1.0.2 /usr/lib/node_modules/os-homedir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall os-homedir
Package Name | os-homedir |
Version | 1.0.2 |
Description | Node.js 4 `os.homedir()` ponyfill |
Released Date | 2016-09-30T04:58:41.739Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/os-homedir/tutorial |