app-root-path : Determine an apps root path from anywhere inside the app. You can installing app-root-path 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 app-root-path $ sudo npm install -g app-root-path
If want to update the app-root-path package execute the command as below,
$ sudo npm update app-root-path
Update package globally,
$ npm install -g app-root-path
$ sudo git clone https://github.com/rektide/app-root-path.git
$ sudo npm install -g ./app-root-path
app-root-path@2.0.1 /usr/lib/node_modules/app-root-path
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall app-root-path
Package Name | app-root-path |
Version | 2.0.1 |
Description | Determine an apps root path from anywhere inside the app |
Released Date | 2016-09-08T15:47:22.247Z |
Published by | inxilpro |
How to Learn | https://www.npmjs.com/package/app-root-path/tutorial |