resolve-cwd : Resolve the path of a module like `require.resolve()` but from the current working directory. You can installing resolve-cwd 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 resolve-cwd $ sudo npm install -g resolve-cwd
If want to update the resolve-cwd package execute the command as below,
$ sudo npm update resolve-cwd
Update package globally,
$ npm install -g resolve-cwd
$ sudo git clone https://github.com/rektide/resolve-cwd.git
$ sudo npm install -g ./resolve-cwd
resolve-cwd@2.0.0 /usr/lib/node_modules/resolve-cwd
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall resolve-cwd
| Package Name | resolve-cwd |
| Version | 2.0.0 |
| Description | Resolve the path of a module like `require.resolve()` but from the current working directory |
| Released Date | 2017-04-28T09:14:24.319Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/resolve-cwd/tutorial |