UNPKG

ip2region-ts

Version:

node-ip2region written in typescript with esm support, latest xdb

83 lines (82 loc) 2.04 kB
{ "name": "ip2region-ts", "type": "module", "version": "2.0.1", "packageManager": "pnpm@10.14.0", "description": "node-ip2region written in typescript with esm support, latest xdb", "author": "SonOfMagic <qq1324318532@gmail.com>", "license": "MIT", "homepage": "https://github.com/sonofmagic/node-ip2region#readme", "repository": { "type": "git", "url": "https://github.com/sonofmagic/node-ip2region.git" }, "bugs": { "url": "https://github.com/sonofmagic/node-ip2region/issues" }, "keywords": [ "ip2region", "typescript", "commonjs", "cjs", "esm", "module", "ip", "ip-address", "ip-location", "ip-region", "ip-lookup", "ip-search", "ip-geo" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./*": "./*" }, "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "data", "dist" ], "scripts": { "dev": "tsup --watch --sourcemap", "build:dev": "tsup --sourcemap", "build": "tsup", "test:dev": "vitest", "test": "vitest run", "init:rename": "node scripts/init/rename.js", "init:bin": "node scripts/init/bin.js", "ls:pack": "npm pack --dry-run", "preinstall": "npx only-allow pnpm", "semantic-release": "semantic-release", "sync": "cnpm sync ip2region-ts" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "devDependencies": { "@icebreakers/eslint-config": "^1.3.3", "@tsconfig/recommended": "^1.0.10", "@types/node": "^24.2.1", "@vitest/coverage-v8": "^3.2.4", "defu": "^6.1.2", "es-toolkit": "^1.39.8", "eslint": "9.33.0", "jiti": "^2.5.1", "only-allow": "^1.2.1", "semantic-release": "^24.2.7", "tslib": "^2.8.1", "tsup": "^8.5.0", "tsx": "^4.20.3", "typescript": "^5.9.2", "vitest": "^3.2.4" } }