Get current system network interface with TypeScript
Advertisements
import * as os from "os" function getCurrentNetworkInterfaces(): any { return os.networkInterfaces() }
import * as os from "os" function getCurrentNetworkInterfaces(): any { return os.networkInterfaces() }