Skip to content

beijaflor-io/bandwidth-usage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bandwidth-usage

WIP Just laying out the APIs.

This module will provide a way of measuring bandwidth usage using libpcap for other JavaScript programs.

const BandwidthUsage = require('bandwidth-usage');
const b = new BandwithUsage();
b.monitors             // => {"en0": ..., "en1": ...}
b.monitors.en0.totalRx // => 308129
b.totalRx              // => 308129 + all other interfaces' rxs

License

MIT

About

Monitor bandwidth usage in Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published