node-pcap / node_pcap

libpcap bindings for node
MIT License
928 stars 253 forks source link

Improve type definition to cover whole API #279

Open waikuen2010 opened 3 years ago

waikuen2010 commented 3 years ago

I am working on a server handling ARP request for VIP usage. I am using node_pcap to capture and decode ARP packet. As I am using Typescript and I found that the current type definition is very minimal and does not cover encoders. I would like to contribute on some of encoding intercept with my work, however I am not familiar with many of the other packet encoding. Does anyone interested in it and could help?