UNPKG

@maxmind/geoip2-node

Version:

Node.js API for GeoIP2 webservice client and database reader

69 lines (68 loc) 2.18 kB
{ "name": "@maxmind/geoip2-node", "version": "7.1.0", "description": "Node.js API for GeoIP2 webservice client and database reader", "type": "module", "main": "dist/src/index.js", "exports": { ".": { "types": "./dist/src/index.d.ts", "default": "./dist/src/index.js" } }, "homepage": "https://github.com/maxmind/GeoIP2-node", "repository": { "type": "git", "url": "https://github.com/maxmind/GeoIP2-node.git" }, "author": "MaxMind", "license": "Apache-2.0", "private": false, "keywords": [ "geoip", "geoip2", "geolite", "geolite2", "maxmind", "maxminddb", "mmdb" ], "files": [ "dist" ], "types": "dist/src/index.d.ts", "devDependencies": { "@eslint/js": "^10.0.1", "@types/jest": "^30.0.0", "@types/node": "^25.0.3", "eslint": "^10.0.2", "eslint-config-prettier": "^10.0.1", "globals": "^17.0.0", "jest": "^30.0.0", "prettier": "^3.0.0", "ts-jest": "^29.4.0", "typedoc": "^0.28.1", "typescript": "^6.0.2", "typescript-eslint": "^8.5.0" }, "publishConfig": { "access": "public" }, "scripts": { "build": "rm -rf dist && tsc", "build:docs": "rm -rf docs && typedoc src/index.ts --out docs --exclude \"**/*.spec.ts\" --readme README.md && ./bin/sanitize-doc-refs.sh", "lint": "npx eslint . && npx tsc --noEmit", "prettier:ts": "prettier --parser typescript --write 'src/**/*.ts'", "prettier:ci": "prettier --parser typescript --list-different 'src/**/*.ts'", "prettier:json": "prettier --parser json --write '**/*.json'", "test": "NODE_OPTIONS=--experimental-vm-modules jest", "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch", "prepublishOnly": "if [ -z \"$GITHUB_ACTIONS\" ]; then echo 'Manual publishing is disabled. Use ./dev-bin/release.sh instead.' && exit 1; fi" }, "engines": { "node": ">=22" }, "dependencies": { "maxmind": "^5.0.0" } }