Installation
npm install --save @types/network-interfaces
Summary
This package contains type definitions for network-interfaces (https://github.com/Wizcorp/network-interfaces#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/network-interfaces.
index.d.ts
export function toIp(interfaceName: string, options: {}): string;
export function toIps(interfaceName: string, options: {}): string[];
export function fromIp(ip: string, options: {}): string;
export function getInterface(options: {}): string;
export function getInterfaces(options: {}): string[];
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Anders Westberg.