UNPKG

request-public-ip

Version:

Node.js module for retrieving a request's public IP address

13 lines (8 loc) 515 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; function getDefaultExportFromCjs (x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; } exports.commonjsGlobal = commonjsGlobal; exports.getDefaultExportFromCjs = getDefaultExportFromCjs;