pcap : raw packet capture, decoding, and analysis. You can installing pcap 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 pcap $ sudo npm install -g pcap
If want to update the pcap package execute the command as below,
$ sudo npm update pcap
Update package globally,
$ npm install -g pcap
$ sudo git clone https://github.com/rektide/pcap.git
$ sudo npm install -g ./pcap
pcap@2.0.1 /usr/lib/node_modules/pcap
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pcap
| Package Name | pcap |
| Version | 2.0.1 |
| Description | raw packet capture, decoding, and analysis |
| Released Date | 2015-02-10T21:34:31.277Z |
| Published by | mjr |
| How to Learn | https://www.npmjs.com/package/pcap/tutorial |