Skip to content

Get current system network interface with TypeScript

import * as os from "os"

function getCurrentNetworkInterfaces(): any {
    return os.networkInterfaces()
See also  TypeScript code snippet - How remove decimal points in java?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.