Skip to content

Get current system network interface with TypeScript

import * as os from "os"

function getCurrentNetworkInterfaces(): any {
    return os.networkInterfaces()
See also  from How many ways we can define props with TypeScript react?

Leave a Reply

Your email address will not be published. Required fields are marked *

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