npcap

raw packet capture, decoding, and analysis, fork from node-pcap


License
MIT
Install
npm install npcap@0.0.1

Documentation

Fork from node_pcap, and make in run windows platform , using npcap(winpcap) library.

Basic readme see node_pcap

Change Point:

  • use node-addon-api to rewrite, which replace nan
  • windows doesn't support pcap_get_selectable_fd, using pcap_next_ex to replace
  • we start a new thread to poll pcap_next_ex