in-publish : Detect if we were run as a result of `npm publish`. You can installing in-publish 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 in-publish $ sudo npm install -g in-publish
If want to update the in-publish package execute the command as below,
$ sudo npm update in-publish
Update package globally,
$ npm install -g in-publish
$ sudo git clone https://github.com/rektide/in-publish.git
$ sudo npm install -g ./in-publish
in-publish@2.0.0 /usr/lib/node_modules/in-publish
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall in-publish
Package Name | in-publish |
Version | 2.0.0 |
Description | Detect if we were run as a result of `npm publish` |
Released Date | 2015-07-07T19:01:29.155Z |
Published by | iarna |
How to Learn | https://www.npmjs.com/package/in-publish/tutorial |