UNPKG

node-iplocate

Version:

Find geolocation data from IP addresses (e.g. city, country, timezone) using the IPLocate.io API

89 lines (88 loc) 2.1 kB
{ "name": "node-iplocate", "version": "2.0.1", "description": "Find geolocation data from IP addresses (e.g. city, country, timezone) using the IPLocate.io API", "main": "dist/cjs/index.js", "module": "dist/esm/index.mjs", "types": "dist/types/index.d.ts", "exports": { "types": "./dist/types/index.d.ts", "default": { "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.js" } }, "files": [ "dist/" ], "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsup", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext .ts --fix", "clean": "rimraf dist", "dev": "tsup --watch", "prepublishOnly": "yarn clean && yarn build && yarn test" }, "repository": { "type": "git", "url": "https://github.com/iplocate/node-iplocate.git" }, "bugs": { "url": "https://github.com/iplocate/node-iplocate/issues" }, "homepage": "https://github.com/iplocate/node-iplocate#readme", "keywords": [ "typescript", "geoip", "geolocate", "geolocation", "ip address", "ip to country", "ip to city", "ip to region", "ip vpn lookup", "ip proxy lookup", "ip to asn", "ip to company", "maxmind", "city", "country", "location", "ip", "ipv4", "ipv6", "vpn detection", "proxy detection", "tor detection", "asn lookup", "threat intelligence", "privacy detection", "hosting detection", "abuse contact" ], "author": "IPLocate.io", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.33.1", "@typescript-eslint/parser": "^8.33.1", "eslint": "^9.28.0", "eslint-plugin-jest": "^28.13.0", "globals": "^16.2.0", "jest": "^29.7.0", "rimraf": "^6.0.1", "ts-jest": "^29.3.4", "tsup": "^8.5.0", "typescript": "^5.8.3" }, "dependencies": { "ip-utils": "^2.4.0" } }