How to Install pcap NPM Packages on Ubuntu / Debian

How to Install pcap software package in NPM Packages

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

Git clone:

$ sudo  git clone https://github.com/rektide/pcap.git
$ sudo  npm install -g ./pcap

pcap@2.0.1 /usr/lib/node_modules/pcap

How to remove pcap package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall pcap

Basic Information of pcap NPM Package:

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