getmac
Version:
Get the MAC address of the current machine you are on.
8 lines • 321 B
TypeScript
/**
* Get the first proper MAC address
* @param iface If provided, restrict MAC address fetching to this interface
*/
export default function getMAC(iface?: string): string;
/** Check if the input is a valid MAC address */
export declare function isMAC(macAddress: string): boolean;
//# sourceMappingURL=index.d.ts.map