micro-geoip-lite
Version:
🌍 An extremely lite geoip decoder utilizing the micro-geoip-lite microservice to geo decode the IP info via an https request - the microservice utilizes MaxMind's IP info dataset.
87 lines (86 loc) • 2.46 kB
JSON
{
"name": "micro-geoip-lite",
"version": "1.1.0",
"description": "🌍 An extremely lite geoip decoder utilizing the micro-geoip-lite microservice to geo decode the IP info via an https request - the microservice utilizes MaxMind's IP info dataset.",
"author": {
"name": "Ahmed Tarek",
"email": "ahmed.tokyo1@gmail.com",
"url": "https://github.com/A-Tokyo"
},
"repository": {
"type": "git",
"url": "git+https://github.com/a-tokyo/micro-geoip-lite-js.git"
},
"main": "lib/index.js",
"files": [
"lib/"
],
"homepage": "https://github.com/a-tokyo/micro-geoip-lite-js#readme",
"bugs": {
"url": "https://github.com/a-tokyo/micro-geoip-lite-js/issues"
},
"scripts": {
"start": "babel-node src/index.js",
"dev": "yarn build --watch",
"build": "rm -rf lib && yarn build:flow && yarn build:js",
"build:js": "babel src --out-dir lib -s --ignore *.test.js,**/*.test.js",
"build:flow": "flow-copy-source -v -i '*.test.js' -i '**/*.test.js' src lib",
"prepublishOnly": "export NODE_ENV=production && yarn build",
"prepare": "husky",
"test": "npm run build && yarn jest",
"coverage-view": "open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html"
},
"dependencies": {
"ky": "^0.19.0",
"ky-universal": "^0.5.0"
},
"devDependencies": {
"@babel/cli": "^7.29.7",
"@babel/eslint-parser": "^7.29.7",
"@babel/plugin-transform-runtime": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-flow": "^7.29.7",
"babel-jest": "^30.4.1",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ft-flow": "^3.0.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.2.1",
"flow-bin": "^0.317.0",
"flow-copy-source": "^2.0.6",
"husky": "^9.1.7",
"jest": "^30.4.2",
"lint-staged": "^17.0.7",
"prettier": "^3.8.3",
"regenerator-runtime": "^0.14.1"
},
"keywords": [
"micro",
"micro service",
"ip",
"geoip",
"geoip-lite",
"country",
"request-country",
"decode",
"lite-weight",
"flow",
"types",
"typed",
"typescript"
],
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"license": "MIT",
"contributors": [
{
"name": "Ahmed Tarek",
"email": "ahmed.tokyo1@gmail.com",
"url": "https://github.com/A-Tokyo"
}
]
}