Server IP : 162.213.251.212 / Your IP : 3.142.201.243 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/www/easybuyer/node_modules/internal-ip/ |
Upload File : |
interface v6 { /** * @returns The IPv6 address of the internet-facing interface, as determined from the default gateway. When the address cannot be determined for any reason, `null` will be returned. * * @example * * console.log(await internalIp.v6()); * //=> 'fe80::1' */ (): Promise<string>; /** * @returns The IPv6 address of the internet-facing interface, as determined from the default gateway. When the address cannot be determined for any reason, `null` will be returned. * * @example * * console.log(internalIp.v6.sync()); * //=> 'fe80::1' */ sync(): string; } interface v4 { /** * @returns The IPv4 address of the internet-facing interface, as determined from the default gateway. When the address cannot be determined for any reason, `null` will be returned. * * @example * * console.log(await internalIp.v4()) * //=> '10.0.0.79' */ (): Promise<string>; /** * @returns The IPv4 address of the internet-facing interface, as determined from the default gateway. When the address cannot be determined for any reason, `null` will be returned. * * @example * * console.log(internalIp.v4.sync()) * //=> '10.0.0.79' */ sync(): string; } declare const internalIp: { v6: v6; v4: v4; // TODO: Remove this for the next major release default: typeof internalIp; }; export = internalIp;