network icon indicating copy to clipboard operation
network copied to clipboard

The missing network utilities in Node.js.

Results 16 network issues
Sort by recently updated
recently updated
newest added

Hey, Great library! Did got the information that there is an update of the package but nothing is present into the repository related to that upgrade, is it possible to...

On macOS the get default gateway script dose not work. ``` network.get_gateway_ip(function(err, ip) { console.log(err || ip); // err may be 'No active network interface found.' }) ``` This is...

Node version 18 has added an undocumented change to the os.networkInterfaces return values. See: https://github.com/nodejs/node/issues/42787 This undocumented change results in this package no longer setting the ip_address field for interfaces...

The idea would be to create a different module for the CLI. Like `network-cli` So this is used as dependency and we can get rid of `commander` package, if someone...

When downloading the network package through npm, it does not include the latest merge to include bluetooth recognition.

When call below func on the Windows 10 : ``` network.get_interfaces_list(function(err, list) { console.log(err || list); }) ``` ---Error---------------------- ``` \network\node_modules\iconv-lite\lib\index.js:106 throw new Error("Encoding not recognized: '" + encoding +...

I was on WiFi Network in my Windows 10, get active interface returns the Ethernet interface instead of WiFi interface.

On raspberry with node version 10.6.0, I have the error : /home/pi/rdr/node_modules/network/lib/linux.js:87 nics[key].forEach(function(type) { ^ TypeError: nics[key].forEach is not a function at Object.exports.get_network_interfaces_list (/home/pi/rdr/node_modules/network/lib/linux.js:87:17) at nic_by_name (/home/pi/rdr/node_modules/network/lib/index.js:21:16) at /home/pi/rdr/node_modules/network/lib/index.js:98:5 at...

Could you add the broadcast IP to the return information for active_interface? Here is some not so pretty code that I found and modified. function IPv4_Address( addressDotQuad, netmaskDotQuad ) {...

Hi, I can't get a certain IP address, got a 'undefined' instead :) After I dive into the source code,I found that os.networkInterfaces() returned a weried *NetConnectionID*(yes, it's on **Windows...