npm.io
1.1.2 • Published 2 years ago

@types/network-interfaces

Licence
MIT
Version
1.1.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Anders Westberg.