UNPKG

@esm2cjs/public-ip

Version:

Get your public IP address — very fast!. This is a fork of sindresorhus/public-ip, but with CommonJS support.

88 lines (87 loc) 1.47 kB
{ "name": "@esm2cjs/public-ip", "version": "6.0.1", "description": "Get your public IP address — very fast!. This is a fork of sindresorhus/public-ip, but with CommonJS support.", "license": "MIT", "repository": "esm2cjs/public-ip", "funding": "https://github.com/sponsors/AlCalzone", "author": { "name": "Dominic Griesel", "email": "d.griesel@gmx.net" }, "exports": { ".": { "import": "./esm/index.js", "require": "./cjs/index.js" }, "./package.json": "./package.json" }, "engines": { "node": ">=14.16" }, "scripts": { "test": "xo && ava && tsd" }, "files": [ "cjs/", "esm/" ], "keywords": [ "get", "ip", "ipv4", "ipv6", "address", "external", "public", "machine", "fast", "opendns", "dns" ], "dependencies": { "@esm2cjs/aggregate-error": "^4.0.1", "@esm2cjs/got": "^12.1.0", "@esm2cjs/is-ip": "^4.0.0", "dns-socket": "^4.2.2" }, "devDependencies": { "ava": "^4.3.0", "sinon": "^14.0.0", "time-span": "^5.0.0", "tsd": "^0.21.0", "xo": "^0.50.0" }, "xo": { "ignores": [ "cjs", "**/*.test-d.ts", "**/*.d.ts" ] }, "ava": { "serial": true, "files": [ "test.js" ] }, "publishConfig": { "access": "public" }, "main": "cjs/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "typesVersions": { "*": { "esm/index.d.ts": [ "esm/index.d.ts" ], "cjs/index.d.ts": [ "esm/index.d.ts" ], "*": [ "esm/*" ] } } }