cwd : Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util). You can installing 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 cwd $ sudo npm install -g cwd
If want to update the cwd package execute the command as below,
$ sudo npm update cwd
Update package globally,
$ npm install -g cwd
$ sudo git clone https://github.com/rektide/cwd.git
$ sudo npm install -g ./cwd
cwd@0.10.0 /usr/lib/node_modules/cwd
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall cwd
Package Name | cwd |
Version | 0.10.0 |
Description | Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util) |
Released Date | 2016-06-05T10:43:27.983Z |
Published by | jonschlinkert |
How to Learn | https://www.npmjs.com/package/cwd/tutorial |