Add more information to os.networkInterfaces() output? #14977
Labels
feature request
Issues that request new features to be added to Node.js.
libuv
Issues and PRs related to the libuv dependency or the uv binding.
Projects
I had a need to get some detail information about the system’s IPv6 addresses, specifically whether they were temporary. It turned out that this was not extremely hard to add to the built-in
os.networkInterfaces()
function. Because I would rather not have to ship and maintain a patched node, I extracted the relevant code from node and libuv and put it into a module, then made my additions there: network-interfaces-plus.Would there be interest in having this functionality added back to the original
os.networkInterfaces()
?I don’t mind if the answer is “no” – I have seen similar requests declined in the past on the grounds that having
os.networkInterfaces()
in core is borderline feature-creep already.My changes modify the libuv ABI (added struct fields) and would probably need to be coordinated with libuv/libuv#1371.
Example output
with node v6.11.2 on macOS 10.12.6
The text was updated successfully, but these errors were encountered: