on-headers : Execute a listener when a response is about to write headers. You can installing on-headers 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 on-headers $ sudo npm install -g on-headers
If want to update the on-headers package execute the command as below,
$ sudo npm update on-headers
Update package globally,
$ npm install -g on-headers
$ sudo git clone https://github.com/rektide/on-headers.git
$ sudo npm install -g ./on-headers
on-headers@1.0.1 /usr/lib/node_modules/on-headers
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall on-headers
Package Name | on-headers |
Version | 1.0.1 |
Description | Execute a listener when a response is about to write headers |
Released Date | 2015-09-30T03:47:06.558Z |
Published by | dougwilson |
How to Learn | https://www.npmjs.com/package/on-headers/tutorial |